text_plain_output_2.png text_plain_output_1.png
import pandas as pd

reviews = pd.read_csv('../input/ml-1m/ml-1m/ratings.dat', names=['userID', 'movieID', 'rating', 'time'], delimiter='::', engine='python')

print('No. of Unique Users    :', reviews.userID.nunique())
print('No. of Unique Movies :', reviews.movieID.nunique())
print('No. of Unique Ratings  :', reviews.rating.nunique())