Exercise

Comparing the Borrower Race/Ethnicity and their Proportions

In this exercise, you'll compare the US race and ethnic proportions to proportion of total borrowers by race or ethnicity. This will provide an initial check to see if each group is borrowing at a rate comparable to its proportional representation in the United States. The task is similar to the last exercise, but this time you'll use iotools to accomplish it.

Instructions

100 XP
  • Create a matrix from each chunk of "mortgage-sample.csv".
  • Add up the rows for all columns of race_table_chunks.