Description
>>> ~ps.Series([1, 2, 3]) Traceback (most recent call last): ... pyspark.sql.utils.AnalysisException: cannot resolve '(NOT `0`)' due to data type mismatch: argument 1 requires boolean type, however, '`0`' is of bigint type.; 'Project [unresolvedalias(NOT 0#1L, Some(org.apache.spark.sql.Column$$Lambda$1365/2097273578@53165e1))] +- Project [__index_level_0__#0L, 0#1L, monotonically_increasing_id() AS __natural_order__#4L] +- LogicalRDD [__index_level_0__#0L, 0#1L], false
Currently, unary operator `invert` of integral ps.Series/Index is not supported. We ought to implement that following pandas' behaviors.
Attachments
Issue Links
- relates to
-
SPARK-34849 SPIP: Support pandas API layer on PySpark
- Resolved
- links to