Skip to content
New Workbook
Sign up
Course notes: Building Recommendation Engines in Python

Course Notes

Use this workspace to take notes, store code snippets, or build your own interactive cheatsheet! For courses that use data, the datasets will be available in the datasets folder.

# Import any packages you want to use here
import pandas as pd
import os
os.getcwd()
df_m = pd.read_csv('/work/files/workspace/datasets/movies.csv')
df_u = pd.read_csv('/work/files/workspace/datasets/user_ratings.csv')
df_m.head()

Take Notes

Add notes here about the concepts you've learned and code cells with code you want to keep.

Add your notes here

df_u.head()
df_u.shape
df_u['userId'].nunique()