You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for index, row in uscases.iterrows():
location = row['Province_State']
try:
if ',' in location:
result = [x.strip() for x in location.split(',')]
statename = states[result[1]]
row['State'] = statename
uscases.loc[index, 'Province_State'] = statename
except:
print('Error parsing US state:', location)
The path to the source data changed.
New Path: https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv
The text was updated successfully, but these errors were encountered: