Practice: Survey Analysis
Time to combine the tools. A school surveyed 12 students about hours of sleep and their test marks. Summarise the data, check for a link and test whether average sleep differs from the recommended 8 hours.
Examplepython
Quick check
Which function gives a quick summary (count, mean, spread, quartiles) of every numeric column?
Your turn: write the code
Print the median marks of the students who slept 7 hours or more.
Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.
Tip: use the left and right arrow keys to move between lessons.