Skip to content

Instantly share code, notes, and snippets.

@singhrahuldps
Created June 1, 2019 04:50
Show Gist options
  • Save singhrahuldps/cf2fdeb1a9736d7bffea042a60f78b35 to your computer and use it in GitHub Desktop.
Save singhrahuldps/cf2fdeb1a9736d7bffea042a60f78b35 to your computer and use it in GitHub Desktop.
# laoding the table as a pandas dataframe
ratings = pd.read_csv('ratings.csv')
# getting the three column names from a pandas dataframe
user_col, item_col, rating_col = ratings.columns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment