Menu
CoddyTech

Recap: Movie Ratings

Part of the Data and Plots section of Coddy's Machine Learning journey. Lesson 36 of 60.

challenge icon

Challenge

Medium

Time for the four-line movie card this chapter promised, for a film club's newsletter. movies.csv has the columns title, year, rating (out of 10) and votes.

  1. Load it into movies.
  2. Keep the .describe() of only rating and votes in summary.
  3. Print the card below, looking up every number in summary: the count, the lowest and highest rating, the average rating rounded to 2 decimals, and the 50% value of votes.

For a file of 4 cartoons:

Movies: 4
Ratings run from 6.4 to 7.7
Average rating: 7.05
Half the movies have over 16600 votes

Try it yourself

import pandas as pd

# Write your code below

All lessons in Data and Plots

Practice on your own: Online Python compiler