old_contents: 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')
  
  
new_contents: 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 + 'ratings.dat', sep='::', header=None, names=rnames, engine='python')
  
  mnames = ['movie_id', 'title', 'genres']
  movies = pd.read_table(directory + 'movies.dat', sep='::', header=None, names=mnames, engine='python')
  
  print users[:5]
  print ratings[:5]
  print movies[:5]
  
  
subject: Read and print all data files.