You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gokul Yalavarti (Jira)" <ji...@apache.org> on 2022/06/23 12:53:00 UTC

[jira] [Updated] (SPARK-39568) when using df.astype("str") on pyspark dataframe. None are converted "None"

     [ https://issues.apache.org/jira/browse/SPARK-39568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gokul Yalavarti updated SPARK-39568:
------------------------------------
    Description: 
when using df.astype("str") on pyspark dataframe. None are converted "None".

 
 - Not able to keep Null values as None. instead it is converted to string "None" for whole column.

  was:
when using df.astype("str") on pyspark dataframe. None are converted "None".

 

- Not able to keep Null values as None. instead it converted to string "None".


> when using df.astype("str") on pyspark dataframe. None are converted "None"
> ---------------------------------------------------------------------------
>
>                 Key: SPARK-39568
>                 URL: https://issues.apache.org/jira/browse/SPARK-39568
>             Project: Spark
>          Issue Type: Improvement
>          Components: Pandas API on Spark
>    Affects Versions: 3.3.0
>         Environment: Tried on azure databricks.
>            Reporter: Gokul Yalavarti
>            Priority: Major
>
> when using df.astype("str") on pyspark dataframe. None are converted "None".
>  
>  - Not able to keep Null values as None. instead it is converted to string "None" for whole column.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org