GroupBy#
This namespace comes available by calling LazyFrame.group_by(..)
.
|
Compute aggregations for each group of a group by operation. |
Aggregate the groups into Series. |
|
Return the number of rows in each group. |
|
Aggregate the first values in the group. |
|
|
Get the first |
Aggregate the last values in the group. |
|
|
Return the number of rows in each group. |
|
Apply a custom/user-defined function (UDF) over the groups as a new DataFrame. |
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 |