1. Learn
  2. /
  3. Courses
  4. /
  5. Analyzing Survey Data in Python

Connected

Exercise

Crosstabulation

Students and alumni mainly from the University of Texas were surveyed to see their stance on the topic of female empowerment. Let's get an overall picture of the relationship between degree received and gender.

pandas has been imported for you as pd and the survey as we_survey.

Instructions

100 XP
  • Create a cross-tabulation of Gender and Education showing the frequency distribution between both variables.