Skip to content

Commit

Permalink
Update covid-prisons.py
Browse files Browse the repository at this point in the history
  • Loading branch information
amphinomid authored Oct 2, 2022
1 parent c3d6b22 commit 6681521
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions covid-prisons.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ def load_covid_data():
usecols = ['Province_State', 'Confirmed', 'Deaths', 'Incident_Rate', 'Mortality_Rate'],
skiprows = [0, 3, 10, 11, 14, 15, 40, 45, 53],
)
'''covid_data = pd.read_csv(COVID_DATA_URL, nrows = 50,
names = ['Province_State', 'Country_Region', 'Last_Update', 'Lat', 'Long_', 'Confirmed', 'Deaths', 'Recovered',
'Active', 'FIPS', 'Incident_Rate', 'People_Tested', 'People_Hospitalized', 'Mortality_Rate', 'UID',
'ISO3', 'Testing_Rate', 'Hospitalization_Rate'],
usecols = ['Province_State', 'Confirmed', 'Deaths', 'Incident_Rate', 'Mortality_Rate'],
skiprows = [0, 3, 10, 11, 14, 15, 40, 45, 53],
)'''
covid_data = covid_data.rename(columns = {'Incident_Rate': 'State_CR'})
covid_data = covid_data.rename(columns = {'Mortality_Rate': 'State_CFR'})
covid_data['State_CFR'] = covid_data['State_CFR'] * 1000
Expand Down

0 comments on commit 6681521

Please sign in to comment.