Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31963

Support both pandas 0.23 and 1.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.0
    • PySpark, SQL
    • None

    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

          Activity

            People

              william William Hyun
              william William Hyun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: