bach.DataFrame.describe
describeβ
(percentiles=None, include=None, exclude=None, datetime_is_numeric=False)β[source]
Returns descriptive statistics.
The following statistics are considered: count
, mean
, std
, min
, max
, nunique
and mode
Parametersβ
percentiles
(Optional[Sequence[float]]) β list of percentiles to be calculated. Values must be between 0 and 1.include
(Optional[Union[str, Sequence[str]]]) β dtypes to be included. Either a sequence of dtypes, a single dtype, or the special value βallβ. By default calculations will be based on numerical columns, if there are any numerical columns and on all columns if there are no numerical columns.exclude
(Optional[Union[str, Sequence[str]]]) β dtypes to be excluded. Either a sequence of dtypes, a single dtype, or None.datetime_is_numeric
(bool) β not supported
Returnsβ
a new DataFrame with the descriptive statistics