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

[jira] [Updated] (SPARK-36035) Adjust `test_astype`, `test_neg` for old pandas versions

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

Xinrong Meng updated SPARK-36035:
---------------------------------
    Summary: Adjust `test_astype`, `test_neg` for old pandas versions  (was: Adjust test_astype, test_neg for old pandas versions)

> Adjust `test_astype`, `test_neg` for old pandas versions
> --------------------------------------------------------
>
>                 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
>
> * test_astype
> 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