GroupByImpl
Properties
A FrameColumn representing all groups of rows. Each cell contains a DataFrame with the subset of rows that share the same key values.
Functions
Computes the cumulative sums of the values in each column from the GroupBy from the first cell to the last cell.
Aggregates this GroupBy into a DataFrame by computing the values of expression on all rows for each group.
Emulates selecting all columns whose values are mutually comparable to each other. These are columns of type R where R : Comparable<R>.
Returns a FrameColumn with the dataframes that body computes from the key–group pairs of this GroupBy.
Aggregates this GroupBy by computing the maximum of the values of each suitable column separately, per group.
Aggregates this GroupBy by computing a single maximum of all the values in the selected columns, per group.
Reduces each group of this GroupBy to the first row for which the given rowExpression returns the maximum value.
Reduces each group of this GroupBy to the first row that has the largest value in the column with the given name.
Aggregates this GroupBy by computing the maximum of the values of each selected column separately, per group.
Aggregates this GroupBy by computing the maximum of the values that the given expression returns for each row of a group.
Aggregates this GroupBy by computing the mean of the values of each suitable column separately, per group.
Aggregates this GroupBy by computing a single mean of means of the selected columns, per group.
Aggregates this GroupBy by computing the mean of the values of each selected column separately, per group.
Aggregates this GroupBy by computing the median of the values of each suitable column separately, per group.
Aggregates this GroupBy by computing a single median of all the values in the selected columns, per group.
Reduces each group of this GroupBy to the row at the median of the values that the given rowExpression returns for each row of that group.
Reduces each group of this GroupBy to the row at the median of the values in the column with the given name.
Aggregates this GroupBy by computing the median of the values of each selected column separately, per group.
Aggregates this GroupBy by computing the median of the values that the given expression returns for each row of a group.
Aggregates this GroupBy by computing the minimum of the values of each suitable column separately, per group.
Aggregates this GroupBy by computing a single minimum of all the values in the selected columns, per group.
Reduces each group of this GroupBy to the first row for which the given rowExpression returns the minimum value.
Reduces each group of this GroupBy to the first row that has the smallest value in the column with the given name.
Aggregates this GroupBy by computing the minimum of the values of each selected column separately, per group.
Aggregates this GroupBy by computing the minimum of the values that the given expression returns for each row of a group.
Aggregates this GroupBy by computing the given percentile of the values of each suitable column separately, per group.
Aggregates this GroupBy by computing a single percentile of all the values in the selected columns, per group.
Reduces each group of this GroupBy to the row at the given percentile of the values that the given rowExpression returns for each row of that group.
Reduces each group of this GroupBy to the row at the given percentile of the values in the column with the given name.
Aggregates this GroupBy by computing the given percentile of the values of each selected column separately, per group.
Aggregates this GroupBy by computing the given percentile of the values that the given expression returns for each row of a group.
Pivots the selected columns of this GroupBy groups. Returns a PivotGroupBy.
Computes a count matrix (similar to frequency encoding) for the values in the specified columns within each group of this GroupBy, returning a new DataFrame where:
Computes a presence matrix (similar to one-hot encoding) for the values in the specified columns within each group of this GroupBy, returning a new DataFrame where:
Returns the runtime DataFrameSchema of this GroupBy seen as a DataFrame: the key columns, followed by a frame column holding the groups.
Aggregates this GroupBy by computing the standard deviation of the values of each suitable column separately, per group.
Aggregates this GroupBy by computing a single standard deviation of all the values in the selected columns, per group.
Aggregates this GroupBy by computing the standard deviation of the values of each selected column separately, per group.
Aggregates this GroupBy by computing the standard deviation of the values that the given expression returns for each row of a group.
Aggregates this GroupBy by computing the sum of the values of each suitable column separately, per group.
Aggregates this GroupBy by computing a single sum of all the values in the selected columns, per group.
Aggregates this GroupBy by computing the sum of the values of each selected column separately, per group.
Returns a cross-section of this GroupBy: only the key–group pairs in which the key columns hold the given keyValues, without those key columns.
Returns a cross-section of this GroupBy: only the key–group pairs in which the key columns hold the given keyValues, without those key columns.