You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maciej Szymkiewicz (JIRA)" <ji...@apache.org> on 2017/02/03 19:42:51 UTC

[jira] [Updated] (SPARK-19453) Correct Column.replace docs

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org