GroupBy

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

Indexing, iteration

Function application

GroupBy.apply(func, *args[, dtypes, index, …])

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.

GroupBy.transform(func, *args[, dtypes, …])

Computations / descriptive stats

GroupBy.count(**kw)

GroupBy.cumcount([ascending])

GroupBy.cummax([axis])

GroupBy.cummin([axis])

GroupBy.cumprod([axis])

GroupBy.cumsum([axis])

GroupBy.max(**kw)

GroupBy.mean(**kw)

GroupBy.min(**kw)

GroupBy.size(**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.cummax([axis])

DataFrameGroupBy.cummin([axis])

DataFrameGroupBy.cumprod([axis])

DataFrameGroupBy.cumsum([axis])

The following methods are available only for SeriesGroupBy objects.

The following methods are available only for DataFrameGroupBy objects.