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

Maciej Szymkiewicz updated SPARK-19453:
---------------------------------------
    Summary: Correct Column.replace docs  (was: Correct )

> Correct Column.replace docs
> ---------------------------
>
>                 Key: SPARK-19453
>                 URL: https://issues.apache.org/jira/browse/SPARK-19453
>             Project: Spark
>          Issue Type: Improvement
>          Components: Documentation, PySpark, SQL
>    Affects Versions: 1.5.0, 1.6.0, 2.0.0, 2.1.0, 2.2.0
>            Reporter: Maciej Szymkiewicz
>
> Current docstring provides incorrect description of {{to_replace}} argument: 
> {quote}
>  If the value is a dict, then `value` is ignored and `to_replace` must be a 
> mapping from column name (string) to replacement value.
> {quote}
> It looks like it has been copied from `na.fill` docs. In fact {{dict}} should 
> provide mapping from value to replacement value. 
> Moreover docs fail to explain some fundamental limitations (like lack of 
> support for heterogeneous values) and some usage scenarios.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to