Github user felixcheung commented on a diff in the pull request: https://github.com/apache/spark/pull/12493#discussion_r60309189 --- Diff: R/pkg/R/DataFrame.R --- @@ -1125,6 +1125,41 @@ setMethod("summarize", agg(x, ...) }) +#' dapply +#' +#' Apply a function to each partition of a DataFrame. +#' +#' @param x A DataFrame +#' @param func A function to be applied to each partition of the DataFrame. +#' @param schema Optional. The schema of the resulting DataFrame after the function is applied. +#' If NULL, the content of the resulting DataFrame is serialized R data. +#' @family DataFrame functions +#' @rdname dapply +#' @name dapply +#' @export --- End diff -- pls add doc example
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org