GroupBy#
This namespace is available after calling DataFrame.group_by(...)
.
Allows iteration over the groups of the group by operation. |
|
|
Compute aggregations for each group of a group by operation. |
Aggregate the groups into Series. |
|
|
Apply a custom/user-defined function (UDF) over the groups as a sub-DataFrame. |
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 sub-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 |