In this exercise you will analyze some data on occupations.
import pandas as pd
users
# write your code here
Compute the mean age per occupation
# write your code here
Compute the female ratio per occupation and sort it from the most to the least
Hint: write a function and use apply method to convert M/F symbols to integers, if needed.
# write your code here
For each occupation, calculate the minimum and maximum ages
# write your code here
For each combination of occupation and gender, calculate the mean age
# write your code here
For each occupation present the percentage of women and men
Hint: you may find useful functions agg() and div()
# write your code here
Special thanks to https://github.com/justmarkham for sharing the dataset and materials.