GitHub user vundela opened a pull request:

    https://github.com/apache/spark/pull/17688

    [MINOR][DOCS] Adding missing boolean type for replacement value in fi…

    …llna
    
    ## What changes were proposed in this pull request?
    
    Currently pyspark Dataframe.fillna API supports boolean type when we pass 
dict, but it is missing in documentation.
    
    ## How was this patch tested?
    >>> spark.createDataFrame([Row(a=True),Row(a=None)]).fillna({"a" : 
True}).show()
    +----+
    |   a|
    +----+
    |true|
    |true|
    +----+
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/vundela/spark fillna_doc_fix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/17688.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17688
    
----
commit 211d0836921d17243524686730ab69277bdcf6cb
Author: Srinivasa Reddy Vundela <v...@cloudera.com>
Date:   2017-04-19T19:15:32Z

    [MINOR][DOCS] Adding missing boolean type for replacement value in fillna

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to