import pandas as pd

directory = 'ml-1m/'

unames = ['user_id', 'gender', 'age', 'occupation', 'zip']
users = pd.read_table(directory + 'users.dat', sep='::', header=None, names=unames, engine='python')

rnames = ['user_id', 'movie_id', 'rating', 'timestamp']
ratings = pd.read_table(directory + 'users.dat', sep='::', header=None, names=rnames, engine='python')


@@ -282,36 +282,183 @@
 le(directory + '
-user
+ratings.dat', sep='::', header=None, names=rnames, engine='python')%0A%0Amnames = %5B'movie_id', 'title', 'genres'%5D%0Amovies = pd.read_table(directory + 'movie
 s.dat', sep='::'
@@ -470,33 +470,33 @@
 der=None, names=
-r
+m
 names, engine='p
@@ -484,28 +484,80 @@
 s=mnames, engine='python')%0A%0A
+print users%5B:5%5D%0Aprint ratings%5B:5%5D%0Aprint movies%5B:5%5D%0A%0A

Read and print all data files.