Description
This issue aims to fix a bug by supporting both pandas 0.23 and 1.0.
$ 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"
Attachments
Issue Links
- is caused by
-
SPARK-25351 Handle Pandas category type when converting from Python with Arrow
- Resolved
- relates to
-
SPARK-31964 Avoid Pandas import for CategoricalDtype with Arrow conversion
- Resolved
- links to