Last active
April 15, 2019 17:33
-
-
Save DiogoRibeiro7/ba6c8b57fc44a5639ede2b93ae3eb68e to your computer and use it in GitHub Desktop.
This file contains 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
class_sex_grouping = titanic_df.groupby(['pclass','sex']).mean() | |
class_sex_grouping | |
class_sex_grouping['survived'].plot.bar() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment