You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/10/15 19:50:10 UTC

[GitHub] [spark] dongjoon-hyun commented on a change in pull request #30060: Fix the typo in the docstring of method agg()

dongjoon-hyun commented on a change in pull request #30060:
URL: https://github.com/apache/spark/pull/30060#discussion_r505799278



##########
File path: python/pyspark/sql/dataframe.py
##########
@@ -1514,7 +1514,7 @@ def cube(self, *cols):
     @since(1.3)
     def agg(self, *exprs):
         """ Aggregate on the entire :class:`DataFrame` without groups
-        (shorthand for ``df.groupBy.agg()``).
+        (shorthand for ``df.groupBy().agg()``).

Review comment:
       Thank you for your contribution. Is this the last one? Could you check the other examples in this file, please?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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