GroupBy#

GroupBy objects are returned by groupby calls: maxframe.dataframe.DataFrame.groupby(), maxframe.dataframe.Series.groupby(), etc.

Indexing, iteration#

Function application#

GroupBy.agg([func, method])

Aggregate using one or more operations on grouped data.

GroupBy.aggregate([func, method])

Aggregate using one or more operations on grouped data.

Computations / descriptive stats#

The following methods are available in both SeriesGroupBy and DataFrameGroupBy objects, but may differ slightly, usually in that the DataFrameGroupBy version usually permits the specification of an axis argument, and often an argument indicating whether to restrict application to columns of a specific data type.

The following methods are available only for SeriesGroupBy objects.

The following methods are available only for DataFrameGroupBy objects.