Cannot determine why Jupyter cannot load my csv file.. The code I have in Jupyter cell is pretty simple
import pandas as pd
df = pd.read_csv(r"purchases.csv")
getting the error below
Traceback (most recent call last)
<ipython-input-45-139a6a5372f2> in <module>()
3
4
----> 5 df = pd.read_csv(r"purchases.csv")
6 df
7
Name of Notebook is Pandas Tet

In my directory, I can see the csv file- purchases.csv Plz advise - have spent a lot of time and I cannot figure it out.
I am taking coursera course and downloaded their notes. I can read mpg.csv and their other files. Do I have to do anything special on files which I create. I have searched online and cannot determine a solution. Thx in advance

c:\purchases.csvbut if your notebook file is in the same folder with thepurchases.csvfile, then you just need the filename instead of the full path. Trydf = pd.read_csv('purchases.csv')