July 2018
Beginner to intermediate
146 pages
3h 39m
English
The first step in building our simple recommender is setting up our workspace. Let's create a new directory named Chapter3. Create a Jupyter Notebook in this directory named Simple Recommender and open it in the browser.
Let's now load the dataset we used in the previous chapter into our notebook.
import pandas as pdimport numpy as np#Load the dataset into a pandas dataframedf = pd.read_csv('../data/movies_')#Display the first five movies in the dataframedf.head()
Upon running the cell, you should see a familiar table-like structure output in the notebook.
Building ...
Read now
Unlock full access