Xinrong Meng created SPARK-36077:
------------------------------------
Summary: Support numpy literals as input for pandas-on-Spark APIs
Key: SPARK-36077
URL: https://issues.apache.org/jira/browse/SPARK-36077
Project: Spark
Issue Type: Improvement
Components: PySpark
Affects Versions: 3.2.0
Reporter: Xinrong Meng
Some pandas-on-Spark APIs use PySpark column-related APIs internally, and these
column-related APIs don't support numpy literals, thus numpy literals are
disallowed as input (e.g. {{to_replace}} parameter in {{replace}} API).
`isin` method has been adjusted in
[https://github.com/apache/spark/pull/32955|https://github.com/apache/spark/pull/32955,]
. We ought to adjust other API to support numpy literals.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]