Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to fetch MovieLens data as pandas.DataFrame
import pandas as pd
movielens = pd.DataFrame.from_csv(
path='http://files.grouplens.org/datasets/movielens/ml-100k/u.data',
sep='\t', header=None, index_col=None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment