[ 
https://issues.apache.org/jira/browse/SPARK-31963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17132714#comment-17132714
 ] 

Apache Spark commented on SPARK-31963:
--------------------------------------

User 'williamhyun' has created a pull request for this issue:
https://github.com/apache/spark/pull/28789

> Support both pandas 0.23 and 1.0
> --------------------------------
>
>                 Key: SPARK-31963
>                 URL: https://issues.apache.org/jira/browse/SPARK-31963
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 3.1.0
>            Reporter: William Hyun
>            Priority: Major
>
> This issue aims to fix a bug by supporting both pandas 0.23 and 1.0.
> {code}
> $ pip install pandas==0.23.2
> $ python -c "import pandas.CategoricalDtype"
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ModuleNotFoundError: No module named 'pandas.CategoricalDtype'
> $ python -c "from pandas.api.types import CategoricalDtype"
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to