spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HyukjinKwon <...@git.apache.org>
Subject [GitHub] spark pull request #20499: [SPARK-23328][PYTHON] Disallow default value None...
Date Tue, 06 Feb 2018 13:40:31 GMT
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20499#discussion_r166301172
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -1532,7 +1532,7 @@ def fillna(self, value, subset=None):
                 return DataFrame(self._jdf.na().fill(value, self._jseq(subset)), self.sql_ctx)
     
         @since(1.4)
    -    def replace(self, to_replace, value=None, subset=None):
    +    def replace(self, to_replace, *args, **kwargs):
    --- End diff --
    
    So, to cut it short, yea, if less pretty doc is fine, I can try. That would reduce the
change a lot.


---

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


Mime
View raw message