You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/10/21 04:32:00 UTC
[jira] [Commented] (SPARK-31964) Avoid Pandas import for
CategoricalDtype with Arrow conversion
[ https://issues.apache.org/jira/browse/SPARK-31964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17218101#comment-17218101 ]
Apache Spark commented on SPARK-31964:
--------------------------------------
User 'HyukjinKwon' has created a pull request for this issue:
https://github.com/apache/spark/pull/30114
> Avoid Pandas import for CategoricalDtype with Arrow conversion
> --------------------------------------------------------------
>
> Key: SPARK-31964
> URL: https://issues.apache.org/jira/browse/SPARK-31964
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 3.1.0
> Reporter: Bryan Cutler
> Assignee: Bryan Cutler
> Priority: Minor
> Fix For: 3.1.0
>
>
> The import for CategoricalDtype changed in Pandas from 0.23 to 1.0 and currently pyspark checks 2 places to import. It would be better check the type as a string and avoid any imports.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org