Groupby
GroupBy objects are returned by groupby calls: danfo.DataFrame.groupby()

Indexing, iteration

​GroupBy.get_group​
Construct DataFrame from group with provided name.

Function application

​GroupBy.agg​
Aggregate using one or more operations over the specified axis.

Computations / descriptive stats

​GroupBy.count​
Compute count of group, excluding missing values.
​GroupBy.cummax​
Cumulative max for each group.
​GroupBy.cummin​
Cumulative min for each group.
​GroupBy.cumprod​
Cumulative product for each group.
​GroupBy.cumsum​
Cumulative sum for each group.
​GroupBy.max​
Compute max of group values.
​GroupBy.mean​
Compute mean of groups, excluding missing values.
​GroupBy.min​
Compute min of group values.
​GroupBy.std​
Compute standard deviation of groups, excluding missing values.
​GroupBy.sum​
Compute sum of group values.
​GroupBy.var​
Compute variance of groups, excluding missing values.