describe(self, percentiles=None, include=None, exclude=None, stats=None)¶
Get descriptive statistics
- percentileslist-of-floats, optional
The percentiles to include in the output. The values should be in the interval [0, 1]. By default, percentiles is [0.25, 0.5, 0.75], returning the 25th, 50th, and 75th percentiles.
- include, excludelist or ‘all’ or None (default), optional
- Specify the data types to include in the result.
If both are None, The result will include only numeric columns, or if no numeric columns are present, all columns are included.
A list of dtypes or strings. To select all numerics, use the value ‘number’ or ‘numeric’. For all character columns, use the value ‘character’.
If the value is ‘all’, all columns will be used.
- statslist-of-strings or ‘all’ or None (default), optional
The statistics to include in the output. By default, numeric columns return count, std, min, pct, max, where pct is the collection of percentiles specified in the percentiles= argument. Character statistics include count, unique, top, and freq. In addition, the following can be specified, nmiss, sum, stderr, var, uss, cv, tvalue, probt, css, kurtosis, and skewness. If all is specified, all relevant statistics will be returned.