Github user rxin commented on a diff in the pull request:
https://github.com/apache/spark/pull/4476#discussion_r24351854
--- Diff: python/pyspark/sql.py ---
@@ -2284,6 +2284,18 @@ def addColumn(self, colName, col):
"""
return self.select('*', col.alias(colName))
+ def to_pandas(self):
+ """
+ Collect all the rows and return a `pandas.DataFrame`.
+
+ >>> df.to_pandas() # doctest: +SKIP
--- End diff --
why skipping doctest? Does Jenkins not have this?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]