bpd.DataFrame.describe¶
-
DataFrame.
describe
()[source]¶ Generate descriptive statistics.
Statistics summarize the central tendency, dispersion and shape of a dataset’s distribution, excluding
NaN
values.Analyzes both numeric and object series, as well as
DataFrame
column sets of mixed data types.Parameters: None – Returns: descr – Summary statistics of the Dataframe provided. Return type: DataFrame Examples
>>> df = bpd.DataFrame().assign(A=[0, 10, 20], ... B=[1, 2, 3]) >>> df.describe() A B count 3.0 3.0 mean 10.0 2.0 std 10.0 1.0 min 0.0 1.0 25% 5.0 1.5 50% 10.0 2.0 75% 15.0 2.5 max 20.0 3.0