Last answered:

22 May 2024

Posted on:

08 Mar 2023

0

FileNotFoundError Traceback (most recent call last)

 I'm getting error below after downloading Location.csv file from study Resources,

on both syntaxes
1-data = pd.read_csv('Location.csv', squeeze = True)
2-data = pd.read_csv('Location.csv').squeeze("columns")
Please advice 

 

1 answers ( 0 marked as helpful)
Instructor
Posted on:

22 May 2024

0

Hi Omar!

Thanks for reaching out!


The file `Location.csv` must be in the same directory with the notebook you are working with. Placing them in one folder will solve the issue.
 

Hope this helps.
Best,
Martin

Submit an answer