pandas.api.typing.SeriesGroupBy.aggregate

pandas 3.1.1 · GroupBy · method

Summarize values with one or more operations using the same interface as agg.

Call syntax

pd.api.typing.SeriesGroupBy.aggregate(func=None, *args, engine=None, engine_kwargs=None, **kwargs)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
func Optional
Positional or keyword
Default None
function, str, list or None

Supply a supported operation name or a callable, depending on this API.

*args Optional
Additional positional arguments
engine Optional
Keyword only
Default None
str

Choose the implementation that performs the operation.

engine_kwargs Optional
Keyword only
Default None
dict

Pass a dictionary of options to the selected engine.

**kwargs Optional
Additional keyword arguments

Returns

Series