COVID19 Races

less than 1 minute read

GLOBAL COVID19: Confirmed Cases

GLOBAL COVID19: Fatalities

REALIZED DATA WASN’T GROUPED

from google.colab import files
train_file = "https://raw.githubusercontent.com/danielcaraway/data/master/covid19-global-forecasting-week-2/train.csv"
train_group = pd.DataFrame(train.groupby(['Country_Region','Date'])['ConfirmedCases'].sum())
train_group.reset_index(inplace = True)
train_group.columns = ['name', 'date', 'value']
train_group.to_csv('covid_wk2_grouped_confirmed.csv', index=False)
files.download("covid_wk2_grouped_confirmed.csv")
train_group = pd.DataFrame(train.groupby(['Country_Region','Date'])['Fatalities'].sum())
train_group.reset_index(inplace = True)
train_group = train_group[train_group['Fatalities'] > 0]
train_group.columns = ['name', 'date', 'value']
train_group.to_csv('covid_wk2_grouped_fatalities.csv', index=False)
files.download("covid_wk2_grouped_fatalities.csv")

COMPETITION WEEK 2

COMPETITION WEEK 1

V2

V1