GroupBy#
GroupBy objects are returned by maxframe.liteframe.LiteFrame.groupby().
Aggregation output is always column-based (equivalent to as_index=False)
with no MultiIndex — group keys are returned as regular columns.
Function application#
|
Apply |
|
Apply |
|
GroupBy.apply_chunk() -- per-group-chunk application. |
|
GroupBy.transform() -- per-group column transform. |
|
GroupBy.transform_chunk() -- per-group-chunk transform. |
|
Aggregate the grouped LiteFrame using one or more functions. |
Computations / descriptive stats#
|
Return True if all values in the group are truthy. |
|
Return True if any value in the group is truthy. |
|
Compute the count of non-null values in each group. |
|
Cumulative count (0-indexed row number) within each group. |
|
Cumulative maximum within each group. |
|
Cumulative minimum within each group. |
|
Cumulative product within each group. |
|
Cumulative sum within each group. |
|
Compute the maximum of each group. |
|
Compute the mean of each group. |
|
Compute the median of each group. |
|
Compute the minimum of each group. |
|
Compute the number of distinct values in each group. |
|
Compute the product of each group. |
|
Provide rolling-window calculations within each group. |
|
Provide expanding window calculations within each group. |
|
Compute the standard error of the mean of each group. |
|
Compute the number of rows in each group. |
|
Compute the skewness of each group. |
|
Compute the kurtosis of each group. |
|
Compute the standard deviation of each group. |
|
Compute the sum of each group. |
|
Compute the variance of each group. |
Window transforms#
|
Shift rows within each group by |
|
Compute diff within each group. |
|
Compute pct_change within each group. |
|
Forward-fill within each group. |
|
Backward-fill within each group. |