GroupBy#
This namespace comes available by calling LazyFrame.groupby(..).
|
Compute aggregations for each group of a groupby operation. |
Aggregate the groups into Series. |
|
|
Apply a custom/user-defined function (UDF) over the groups as a new DataFrame. |
Count the number of values in each group. |
|
Aggregate the first values in the group. |
|
|
Get the first n rows of each group. |
Aggregate the last values in the group. |
|
Reduce the groups to the maximal value. |
|
Reduce the groups to the mean values. |
|
Return the median per group. |
|
Reduce the groups to the minimal value. |
|
Count the unique values per group. |
|
|
Compute the quantile per group. |
Reduce the groups to the sum. |
|
|
Get the last n rows of each group. |