pandas.Series.describe
pandas 3.1.1 · Series and accessors · method
Summarize values with statistics appropriate to their dtype, such as quartiles for numbers or frequencies for categories.
Call syntax
Series.describe(percentiles=None, include=None, exclude=None)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted 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
Series