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

ratings_df = pd.read_csv('../input/u.data', sep='\t', names=['user_id', 'movie_id', 'rating', 'ts'])
ratings_df

movie_df = pd.read_csv('../input/u.item', sep='|', encoding='latin-1', header=None)
movie_df = movie_df[[0, 1]]
movie_df.columns = ['movie_id', 'movie_name']
movie_df

user_df = pd.read_csv('../input/u.user', sep='|', encoding='latin-1', header=None)
user_df = user_df[[0, 1]]
user_df.columns = ['user_id', 'age']
user_df