Pack 8 / Pandas and Matplotlib
aggregations and summaries
Lesson pack8-3
aggregations and summaries
not started
Hook
Pandas can summarise a whole column in one line.
Use methods like mean(), sum(), and count() on columns.
groupby() helps you summarise by category.
This is how tables turn into useful answers.
Mini Challenge
Print the average value from the "score" column.
Full lesson mode with normal detail.
Code Lab
Try it now
Output updates below
Output
13.5
Run the code, tweak it, then beat the challenge.
