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.
Solution opens after 2 tries (0 so far)
You’re reading for free. Sign in to save your progress, ask questions on any lesson, and earn a certificate when you finish.Sign in to keep my progress →