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/06/08 21:05:00 UTC
[jira] [Created] (SPARK-35681) Support arithmetic operators (+, *)
among bool Series/Index
Xinrong Meng created SPARK-35681:
------------------------------------
Summary: Support arithmetic operators (+, *) among bool Series/Index
Key: SPARK-35681
URL: https://issues.apache.org/jira/browse/SPARK-35681
Project: Spark
Issue Type: Sub-task
Components: PySpark
Affects Versions: 3.2.0
Reporter: Xinrong Meng
We ought to support arithmetic operators (+, *) between bool Series/Indexes, following the behavior of pandas, for example
{code:java}
>>> pd.Series([True, False, True]) * pd.Series([True, False, False])
0 True
1 False
2 False
dtype: bool
{code}
--
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