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

Support both pandas 0.23 and 1.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: PySpark, SQL
    • Labels:
      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

              • Assignee:
                williamhyun William Hyun
                Reporter:
                williamhyun William Hyun
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: