1
0
mirror of https://github.com/gsi-upm/sitc synced 2025-01-08 20:11:27 +00:00

Compare commits

..

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

View File

@ -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})"
]
},
{