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

Reply via email to