Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-45981 Improve Python language test coverage
  3. SPARK-46147

Fix the doctest in pyspark.pandas.series.Series.to_dict (Python 3.12)

    XMLWordPrintableJSON

Details

    Description

      File "/__w/spark/spark/python/pyspark/pandas/series.py", line 1633, in pyspark.pandas.series.Series.to_dict
      Failed example:
          s.to_dict(OrderedDict)
      Expected:
          OrderedDict([(0, 1), (1, 2), (2, 3), (3, 4)])
      Got:
          OrderedDict({0: 1, 1: 2, 2: 3, 3: 4})
      

      Attachments

        Issue Links

          Activity

            People

              gurwls223 Hyukjin Kwon
              gurwls223 Hyukjin Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: