Created
September 10, 2018 23:41
-
-
Save StrikingLoo/8f089a98f7ccdb5c01f1c61c09638cfe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| female = df[df.Sex=='F'] | |
| year_count = female.groupby('Year').agg('count') | |
| years = list(year_count.index) | |
| counts = list(year_count.Name) #it doesnt matter which column we pick here, | |
| #as long as its non-empty | |
| sns.scatterplot(x = years, y = counts) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment