anishshri-db commented on code in PR #47133:
URL: https://github.com/apache/spark/pull/47133#discussion_r1681555704
##########
sql/core/src/main/scala/org/apache/spark/sql/RelationalGroupedDataset.scala:
##########
@@ -725,6 +725,43 @@ class RelationalGroupedDataset protected[sql](
Dataset.ofRows(df.sparkSession, plan)
}
+ /**
+ * Applies a grouped vectorized python user-defined function to each group
of data.
+ * The user-defined function defines a transformation: iterator of
`pandas.DataFrame` ->
+ * iterator of `pandas.DataFrame`.
+ * For each group, all elements in the group are passed as an iterator of
`pandas.DataFrame`
+ * along with corresponding state, and the results for all groups are
combined into a new
+ * [[DataFrame]].
+ *
+ *
Review Comment:
nit: extra newline ?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]