You can download the dataset directly.
But you can also pull it in locally by running this on the terminal;
You need to install some tools before starting your notebook.
pip install cvxpy pandas
The notebook in this video contains the following code;
import cvxpy as cp import pandas as pd df = pd.read_csv("/path/to/stigler.csv") price = df['price_cents'].values x = cp.Variable(price.shape) objective = cp.Minimize(cp.sum(price*x)) prob = cp.Problem(objective) prob.solve()