load_dataset

pandas_alive.base.load_dataset(name: str = 'covid19') → pandas.core.frame.DataFrame[source]

Returns a pandas DataFrame suitable for immediate use in pandas_alive

Example

df = pandas_alive.load_dataset()

Parameters

name (str, optional) – Name of dataset to load. Either ‘covid19’ or ‘urban_pop’. Defaults to ‘covid19’.

Returns

Loaded DataFrame

Return type

pd.DataFrame