← Courses

Pandas, Hands-On Data with Python

Data Science

Wrap Up · Lesson 9 of 10

Mini project, analyze a dataset

Put it all together

Time to use everything you have learned. Below is a small dataset of student results across cities. The code already builds it and shows the average score per city. Run it, then solve the exercise to find the top city yourself.

Python

Exercise

Exercise — check your understanding

Using the same df (provided in the starter), find the city with the highest average score. Store the city name as a string in best_city.

You’re reading for free. Sign in to keep your progress and earn a certificate when you finish.Sign in to keep my progress →