Getting started
User Guide
API reference
Development
Release notes
GitHub
Twitter
Input/output
General functions
Series
DataFrame
pandas arrays
Index objects
Date offsets
Window
GroupBy
pandas.core.groupby.GroupBy.__iter__
pandas.core.groupby.GroupBy.groups
pandas.core.groupby.GroupBy.indices
pandas.core.groupby.GroupBy.get_group
pandas.Grouper
pandas.core.groupby.GroupBy.apply
pandas.core.groupby.GroupBy.agg
pandas.core.groupby.SeriesGroupBy.aggregate
pandas.core.groupby.DataFrameGroupBy.aggregate
pandas.core.groupby.SeriesGroupBy.transform
pandas.core.groupby.DataFrameGroupBy.transform
pandas.core.groupby.GroupBy.pipe
pandas.core.groupby.GroupBy.all
pandas.core.groupby.GroupBy.any
pandas.core.groupby.GroupBy.bfill
pandas.core.groupby.GroupBy.backfill
pandas.core.groupby.GroupBy.count
pandas.core.groupby.GroupBy.cumcount
pandas.core.groupby.GroupBy.cummax
pandas.core.groupby.GroupBy.cummin
pandas.core.groupby.GroupBy.cumprod
pandas.core.groupby.GroupBy.cumsum
pandas.core.groupby.GroupBy.ffill
pandas.core.groupby.GroupBy.first
pandas.core.groupby.GroupBy.head
pandas.core.groupby.GroupBy.last
pandas.core.groupby.GroupBy.max
pandas.core.groupby.GroupBy.mean
pandas.core.groupby.GroupBy.median
pandas.core.groupby.GroupBy.min
pandas.core.groupby.GroupBy.ngroup
pandas.core.groupby.GroupBy.nth
pandas.core.groupby.GroupBy.ohlc
pandas.core.groupby.GroupBy.pad
pandas.core.groupby.GroupBy.prod
pandas.core.groupby.GroupBy.rank
pandas.core.groupby.GroupBy.pct_change
pandas.core.groupby.GroupBy.size
pandas.core.groupby.GroupBy.sem
pandas.core.groupby.GroupBy.std
pandas.core.groupby.GroupBy.sum
pandas.core.groupby.GroupBy.var
pandas.core.groupby.GroupBy.tail
pandas.core.groupby.DataFrameGroupBy.all
pandas.core.groupby.DataFrameGroupBy.any
pandas.core.groupby.DataFrameGroupBy.backfill
pandas.core.groupby.DataFrameGroupBy.bfill
pandas.core.groupby.DataFrameGroupBy.corr
pandas.core.groupby.DataFrameGroupBy.count
pandas.core.groupby.DataFrameGroupBy.cov
pandas.core.groupby.DataFrameGroupBy.cumcount
pandas.core.groupby.DataFrameGroupBy.cummax
pandas.core.groupby.DataFrameGroupBy.cummin
pandas.core.groupby.DataFrameGroupBy.cumprod
pandas.core.groupby.DataFrameGroupBy.cumsum
pandas.core.groupby.DataFrameGroupBy.describe
pandas.core.groupby.DataFrameGroupBy.diff
pandas.core.groupby.DataFrameGroupBy.ffill
pandas.core.groupby.DataFrameGroupBy.fillna
pandas.core.groupby.DataFrameGroupBy.filter
pandas.core.groupby.DataFrameGroupBy.hist
pandas.core.groupby.DataFrameGroupBy.idxmax
pandas.core.groupby.DataFrameGroupBy.idxmin
pandas.core.groupby.DataFrameGroupBy.mad
pandas.core.groupby.DataFrameGroupBy.nunique
pandas.core.groupby.DataFrameGroupBy.pad
pandas.core.groupby.DataFrameGroupBy.pct_change
pandas.core.groupby.DataFrameGroupBy.plot
pandas.core.groupby.DataFrameGroupBy.quantile
pandas.core.groupby.DataFrameGroupBy.rank
pandas.core.groupby.DataFrameGroupBy.resample
pandas.core.groupby.DataFrameGroupBy.sample
pandas.core.groupby.DataFrameGroupBy.shift
pandas.core.groupby.DataFrameGroupBy.size
pandas.core.groupby.DataFrameGroupBy.skew
pandas.core.groupby.DataFrameGroupBy.take
pandas.core.groupby.DataFrameGroupBy.tshift
pandas.core.groupby.SeriesGroupBy.hist
pandas.core.groupby.SeriesGroupBy.nlargest
pandas.core.groupby.SeriesGroupBy.nsmallest
pandas.core.groupby.SeriesGroupBy.nunique
pandas.core.groupby.SeriesGroupBy.unique
pandas.core.groupby.SeriesGroupBy.value_counts
pandas.core.groupby.SeriesGroupBy.is_monotonic_increasing
pandas.core.groupby.SeriesGroupBy.is_monotonic_decreasing
pandas.core.groupby.DataFrameGroupBy.corrwith
pandas.core.groupby.DataFrameGroupBy.boxplot
Resampling
Style
Plotting
General utility functions
Extensions
pandas.core.groupby.GroupBy.agg
¶
GroupBy.
agg
(
func
,
*
args
,
**
kwargs
)
[source]
¶
pandas.core.groupby.GroupBy.apply
pandas.core.groupby.SeriesGroupBy.aggregate