Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative to pandas_exercises/03_Grouping/Occupation/ Step 8 #140

Open
urtechoc opened this issue Feb 8, 2023 · 0 comments
Open

Alternative to pandas_exercises/03_Grouping/Occupation/ Step 8 #140

urtechoc opened this issue Feb 8, 2023 · 0 comments

Comments

@urtechoc
Copy link

urtechoc commented Feb 8, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant