Skip to content

Instantly share code, notes, and snippets.

@seralouk
Created April 24, 2024 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seralouk/f84dbffd85ab50277f33ceec4609f9e3 to your computer and use it in GitHub Desktop.
Save seralouk/f84dbffd85ab50277f33ceec4609f9e3 to your computer and use it in GitHub Desktop.
A Movie Recommendation System in Python from Scratch
mean_rating = ratings.groupby('movieId')[['rating']].mean()
mean_rating = mean_rating.reset_index()
mean_rating
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment