You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by HyukjinKwon <gi...@git.apache.org> on 2018/10/31 04:57:32 UTC

[GitHub] spark pull request #22891: [SPARK-25881][pyspark] df.toPandas() convert deci...

Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22891#discussion_r229564044
  
    --- Diff: python/pyspark/sql/dataframe.py ---
    @@ -2064,6 +2064,7 @@ def toDF(self, *cols):
         @since(1.3)
         def toPandas(self):
             """
    +        :param coerce_float: default False, if Ture, will handle decimal type to np.float64 instand of type object.
    --- End diff --
    
    There's no such param. Also, we don't convert it to string. Also, Arrow optimization code path should also be fixed BTW.


---

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