Open sbodenstein opened 3 years ago
This looks wrong:
import pandas as pd deaths_path = 'https://raw.githubusercontent.com/rs-delve/covid19_datasets/master/age/data/all_deaths_by_age_sex.csv' DEATHS_DF = pd.read_csv(deaths_path, parse_dates=['Date']) DEATHS_DF[(DEATHS_DF.Age == '90+') & (DEATHS_DF.ISO == 'CAN')].groupby('Sex').sum()
gives {'b': 1830.0, 'f':1203.0, 'm': 46.0}. The category b!=m+f, and also the m category is way too low (there are only around double the number of females +90, not 20x).
{'b': 1830.0, 'f':1203.0, 'm': 46.0}
b!=m+f
m
This looks wrong:
gives
{'b': 1830.0, 'f':1203.0, 'm': 46.0}
. The categoryb!=m+f
, and also them
category is way too low (there are only around double the number of females +90, not 20x).