You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yicong Huang (Jira)" <ji...@apache.org> on 2026/03/11 20:29:00 UTC

[jira] [Updated] (SPARK-55965) Add warning when pandas >= 3.0.0 is used with PySpark

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org