pandas.api.typing.SeriesGroupBy.describe

pandas 3.1.1 · GroupBy · method

Summarize values with statistics appropriate to their dtype, such as quartiles for numbers or frequencies for categories.

Call syntax

pd.api.typing.SeriesGroupBy.describe(percentiles=None, include=None, exclude=None)

Run the example

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

Parameters

ParameterRequirementAccepted values and behavior
percentiles Optional
Positional or keyword
Default None
list-like of numbers

Choose the fractions whose quantiles appear in a descriptive summary.

include Optional
Positional or keyword
Default None
None

Specify the types or fields that should be included.

exclude Optional
Positional or keyword
Default None
None

Specify the types or fields that should be excluded.

Returns

DataFrame