You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2021/07/07 23:18:00 UTC

[jira] [Assigned] (SPARK-36035) Make `test_astype` work with all pandas versions in pandas API on Spark

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

Apache Spark reassigned SPARK-36035:
------------------------------------

    Assignee:     (was: Apache Spark)

> Make `test_astype` work with all pandas versions in pandas API on Spark
> -----------------------------------------------------------------------
>
>                 Key: SPARK-36035
>                 URL: https://issues.apache.org/jira/browse/SPARK-36035
>             Project: Spark
>          Issue Type: Test
>          Components: PySpark
>    Affects Versions: 3.2.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> For pandas < 1.1.0, declaring or converting to StringDtype was in general only possible if the data was already only str or nan-like (GH31204). 
> In pandas 1.1.0, the problem is adjusted by https://pandas.pydata.org/pandas-docs/stable/whatsnew/v1.1.0.html#all-dtypes-can-now-be-converted-to-stringdtype.
> That should be considered in `test_astype`, otherwise, current tests will fail with pandas < 1.1.0.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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