Skip to content

Instantly share code, notes, and snippets.

@SubhadityaMukherjee
Last active April 12, 2020 21:25
Show Gist options
  • Save SubhadityaMukherjee/19d36560876612bda667b12427b4c22a to your computer and use it in GitHub Desktop.
Save SubhadityaMukherjee/19d36560876612bda667b12427b4c22a to your computer and use it in GitHub Desktop.
race

ethnicity

pd.crosstab(index=matched["samerace"], columns="count")
col_0 count
samerace
0 814
1 566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment