Tuberculosis rates per head by state in the USA

Question P9.3.2

The populations of each state in the USA over the years 1993--2018 are given in the file US-populations.txt. Read these data into a pandas DataFrame with a suitable index, and analyze them for any interesting trends. Then combine these data with those of Problem P9.3.1 to determine the states with the greatest and least prevalence of tuberculosis per head of population in 2018.


Solution

To access solutions, please obtain an access code from Cambridge University Press at the Lecturer Resources page for my book (registration required) and then sign up to scipython.com providing this code.