Github user dongjoon-hyun commented on a diff in the pull request:
https://github.com/apache/spark/pull/13786#discussion_r67779404
--- Diff: R/pkg/R/group.R ---
@@ -129,6 +129,48 @@ methods <- c("avg", "max", "mean", "min", "sum")
# These are not exposed on GroupedData: "kurtosis", "skewness", "stddev",
"stddev_samp", "stddev_pop",
# "variance", "var_samp", "var_pop"
+#' Pivot a column of the GroupedData and perform the specified aggregation.
+#'
+#' Pivot a column of the GroupedData and perform the specified aggregation.
+#' There are two versions of pivot function: one that requires the caller
to specify the list
+#' of distinct values to pivot on, and one that does not. The latter is
more concise but less
+#' efficient, because Spark needs to first compute the list of distinct
values internally.
+#'
+#' @param x a GroupedData object
+#' @param colname A column name
+#' @param values A value or a list/vector of distinct values for the
output columns.
+#' @return GroupedData object
+#' @rdname pivot
+#' @family agg
--- End diff --
Do you mean simply to delete this line?
---
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]