[ 
https://issues.apache.org/jira/browse/SPARK-46147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-46147:
-----------------------------------
    Labels: pull-request-available  (was: )

> Fix the doctest in pyspark.pandas.series.Series.to_dict (Python 3.12)
> ---------------------------------------------------------------------
>
>                 Key: SPARK-46147
>                 URL: https://issues.apache.org/jira/browse/SPARK-46147
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 4.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Minor
>              Labels: pull-request-available
>
> {code}
> 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})
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to