Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12836#discussion_r61708565
  
    --- Diff: R/pkg/R/DataFrame.R ---
    @@ -1187,6 +1187,65 @@ setMethod("dapply",
                 dataFrame(sdf)
               })
     
    +#' gapply
    +#'
    +#' Apply a function to each group of a DataFrame.
    +#'
    +#' @param x A SparkDataFrame
    +#' @param func A function to be applied to each group partition specified 
by grouping
    +#'        column of the SparkDataFrame.
    +#'        The output of func is a data.frame.
    +#' @param schema The schema of the resulting DataFrame after the function 
is applied.
    --- End diff --
    
    Could you explain the differences among `data.frame`, `SparkDataFrame` and 
`DataFrame`


---
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]

Reply via email to