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 Dec 30, 2022
1 parent 29d5cf9 commit 396e837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion covid-prisons.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def load_covid_prison_data():
usecols = ['name', 'total_prisoner_cases', 'total_prisoner_deaths', 'as_of_date'],
skiprows = 154, # Relatively recent with relatively few non-reporters (Delaware for cases and Maine and Nevada for deaths)
)
display(prison_pop_data)
print(prison_pop_data)
covid_prison_data['Prison_CR'] = covid_prison_data['total_prisoner_cases'] * 100000 / prison_pop_data['pop']
covid_prison_data['Prison_MR'] = covid_prison_data['total_prisoner_deaths'] * 100000 / prison_pop_data['pop']
covid_prison_data['Prison_CFR'] = covid_prison_data['total_prisoner_deaths'] * 100000 / covid_prison_data['total_prisoner_cases']
Expand Down

0 comments on commit 396e837

Please sign in to comment.