Why is the code failing? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
17th Sep 2022, 2:19 PM
Sanjay Kamath
Sanjay Kamath - avatar
1 Réponse
+ 1
3 things: * when you submit the code, remember to output ONLY the result, not anything else (not the summary, for example) * the relevant columns are called Age, Pclass and Survived. Check the spelling of the later 2 in your code * use tapply to get the mean Pclass grouped by Survived
17th Sep 2022, 2:35 PM
Lisa
Lisa - avatar