pandas_exercises
pandas_exercises copied to clipboard
Alternative to pandas_exercises/03_Grouping/Occupation/ Step 8
Hi,
First I wanted to say thank you for these notebooks, it's been great learning from them.
For Step 8. For each occupation present the percentage of women and men:
round(users.groupby(['occupation'])['gender'].value_counts(normalize = True),2)*100
Regards!