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

Yicong Huang updated SPARK-55965:
---------------------------------
    Affects Version/s: 4.2.0
                           (was: 4.0.0)

> Add warning when pandas >= 3.0.0 is used with PySpark
> -----------------------------------------------------
>
>                 Key: SPARK-55965
>                 URL: https://issues.apache.org/jira/browse/SPARK-55965
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 4.2.0
>            Reporter: Yicong Huang
>            Priority: Major
>
> PySpark does not yet fully support pandas >= 3.0.0. In particular, pandas 3.0 
> defaults future.infer_string to True, which causes string columns to use 
> pa.large_string() internally. This can lead to Arrow type mismatches during 
> createDataFrame/toPandas round-trips.
> This PR adds a FutureWarning in require_minimum_pandas_version() to notify 
> users that pandas >= 3.0.0 is not yet fully supported.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to