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 22:09:00 UTC
[jira] [Created] (SPARK-36035) Make `test_astype` work with all
pandas versions in pandas API on Spark
Xinrong Meng created SPARK-36035:
------------------------------------
Summary: 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
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