text_html_output_1.png
from surprise import Dataset,Reader,SVD

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

from surprise import Dataset, Reader, SVD
reader = Reader()
ratings = pd.read_csv('../input/the-movies-dataset/ratings_small.csv')

rows = ratings.userId.unique()
columns = ratings.movieId.unique()
columns
rows

ratings