Compare commits

..

No commits in common. 'e70689072f697a541c4d196f9933864db95c23b2' and '2c8238f1f23f9cd577cb7c10fe6f05dd37584f77' have entirely different histories.

@ -437,7 +437,7 @@
"\n",
"#Show mean Age, mean SibSp, and number of passengers older than 25 that survived, grouped by Passenger Class and Sex\n",
"df[(df.Age > 25 & (df.Survived == 1))].groupby(['Pclass', 'Sex'])['Age','SibSp','Survived'].agg({'Age': np.mean, \n",
" 'SibSp': np.mean, 'Survived': np.sum})"
" 'SibSp': np.mean, 'Survived': np.size})"
]
},
{

Loading…
Cancel
Save