Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-34849 SPIP: Support pandas API layer on PySpark
  3. SPARK-35705

Adjust pandas-on-spark `test_groupby_multiindex_columns` test for different pandas versions

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • PySpark
    • None

    Description

      Adjust pandas-on-spark test_groupby_multiindex_columns test in order to pass with different pandas versions.

      pandas had introduced bugs as below:

      • For pandas 1.1.3 and 1.1.4

      Type error: only integer scalar arrays can be converted to a scalar index

      • For pandasĀ < 1.0.4

      Type error: Can only tuple-index with a MultiIndex

      Attachments

        Activity

          People

            apachespark Apache Spark
            XinrongM Xinrong Meng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: