Skip to content

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

@urtechoc

Description

@urtechoc

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions