You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yikun Jiang (Jira)" <ji...@apache.org> on 2021/10/18 06:49:00 UTC

[jira] [Created] (SPARK-37039) np.nan series.astype(bool) should be True

Yikun Jiang created SPARK-37039:
-----------------------------------

             Summary: np.nan series.astype(bool) should be True
                 Key: SPARK-37039
                 URL: https://issues.apache.org/jira/browse/SPARK-37039
             Project: Spark
          Issue Type: Sub-task
          Components: PySpark
    Affects Versions: 3.3.0
            Reporter: Yikun Jiang


np.nan series.astype(bool) should be True, rather than Fasle:

https://github.com/apache/spark/blob/46bcef7472edd40c23afd9ac74cffe13c6a608ad/python/pyspark/pandas/data_type_ops/base.py#L147




--
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