You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "William Hyun (Jira)" <ji...@apache.org> on 2020/06/10 20:55:00 UTC

[jira] [Created] (SPARK-31963) Support both pandas 0.23 and 1.0

William Hyun created SPARK-31963:
------------------------------------

             Summary: 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


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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org