CovidTracker.calculate_stat_summary
Module Contents
Functions
|
Creates summary information about the |
- CovidTracker.calculate_stat_summary.calculate_stat_summary(df, column)
- Creates summary information about the
covid cases in each province of Canada
- Parameters
df (pandas.DataFrame) – Pandas DataFrame containing covid data to summary.
column (string) – column name, specifying which column to summarize. the data type of the column must be numeric.
- Returns
pandas DataFrame containing summary information.
- Return type
pandas.DataFrame
Examples
>>> calculate_stat_summary(covid_df, 'cases') >>> calculate_stat_summary(covid_df, 'cumulative_deaths')