Why is the code failing? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
17th Sep 2022, 2:19 PM
Sanjay Kamath
Sanjay Kamath - avatar
1 Antwort
+ 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