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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to