Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/20211#discussion_r161453175 --- Diff: python/pyspark/sql/group.py --- @@ -233,6 +233,27 @@ def apply(self, udf): | 2| 1.1094003924504583| +---+-------------------+ + Notes on grouping column: --- End diff -- SGTM, one thing is how to define the type of `key`, a row?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org