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-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org