Exercise

Calculating Unemployment

In this exercise, you will plot metropolitan unemployment against segregation. Unemployment is calculated as a proportion of the labor force (people employed or seeking employment). msa_black_emp is loaded with counts of Black male and female unemployment and labor force participation taken from subject table C23002B in the 2012 5-year ACS. You will calculate unemployment percentages and join with the previously calculated Index of Dissimilarity, loaded in the DataFrame msa.

pandas and seaborn have been loaded using the usual aliases.

Instructions 1/3

undefined XP
    1
    2
    3
  • View the first few rows of msa_black_emp in the console
  • Calculate the percentages of male, female, and total unemployment as 100 times the unemployment count divided by the labor force count. Add male and female together for totals.