Running L3-Chains on local machine: missing Data.csv input file

When I download L3-Chains.ipynb of and try it out locally, I get a few errors, e.g.

df = pd.read_csv('Data.csv')

FileNotFoundError: [Errno 2] No such file or directory: 'Data.csv'

I found that one way to proceed is to run the notebook in the online environment, add a new cell which prints out the file (only 7 rows). Just execute it and copy-paste the contents to your local machine.

!cat Data.csv

From the course notebook menu File-open shows all the files in the folder. Download from there.

3 Likes