Github user NarineK commented on a diff in the pull request:
https://github.com/apache/spark/pull/12836#discussion_r64804537
--- Diff: R/pkg/R/DataFrame.R ---
@@ -1268,6 +1268,82 @@ setMethod("dapplyCollect",
ldf
})
+#' gapply
+#'
+#' Apply a R function to each group of a DataFrame. The group is defined
by an input
+#' grouping column.
+#'
+#' @param x A SparkDataFrame
+#' @param func A function to be applied to each group partition specified
by grouping
--- End diff --
Yes, the key and the Dataframe with the grouping columns.
---
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]