get_age_distribution#

class get_age_distribution(location=None)[source]#

Load age distribution for a given country or countries.

Parameters:

location (str or list) – name of the country or countries to load the age distribution for

Returns:

Numpy array of age distributions, or dict if multiple locations

Return type:

age_data (array)