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#

GroupBy.all(**kw)

GroupBy.any(**kw)

GroupBy.count(**kw)

GroupBy.max(**kw)

GroupBy.mean(**kw)

GroupBy.min(**kw)

GroupBy.size(**kw)

GroupBy.sem(**kw)

GroupBy.std(**kw)

GroupBy.sum(**kw)

GroupBy.var(**kw)

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.

DataFrameGroupBy.count(**kw)

DataFrameGroupBy.nunique(**kw)

The following methods are available only for SeriesGroupBy objects.

The following methods are available only for DataFrameGroupBy objects.