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 2022/05/18 18:41:00 UTC

[jira] [Updated] (SPARK-39227) Reach parity with pandas boolean cast

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

Xinrong Meng updated SPARK-39227:
---------------------------------
    Description: 
There are pandas APIs that need boolean casts: all, any.

Currently, pandas-on-Spark has different behaviors on special inputs against these APIs, for example, empty string, list, etc, as mentioned https://github.com/apache/spark/pull/36547#issuecomment-1129228724 by [~zero323].

We shall match pandas behavior on boolean cast.

Meanwhile, Series/Frame that contains empty strings, lists should be considered as test input to increase test coverage.

  was:
There are pandas APIs that need boolean casts: all, any.

Currently, pandas-on-Spark has different behaviors on special inputs against these APIs, for example, empty string, list, etc, as mentioned https://github.com/apache/spark/pull/36547#issuecomment-1129228724 by [~zero323].

We shall match pandas behavior on boolean cast.



> Reach parity with pandas boolean cast
> -------------------------------------
>
>                 Key: SPARK-39227
>                 URL: https://issues.apache.org/jira/browse/SPARK-39227
>             Project: Spark
>          Issue Type: Improvement
>          Components: Pandas API on Spark, PySpark
>    Affects Versions: 3.4.0
>            Reporter: Xinrong Meng
>            Priority: Major
>
> There are pandas APIs that need boolean casts: all, any.
> Currently, pandas-on-Spark has different behaviors on special inputs against these APIs, for example, empty string, list, etc, as mentioned https://github.com/apache/spark/pull/36547#issuecomment-1129228724 by [~zero323].
> We shall match pandas behavior on boolean cast.
> Meanwhile, Series/Frame that contains empty strings, lists should be considered as test input to increase test coverage.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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