Reputation: 31
I am working with Jupyter and I want to import a .csv file from my MacBook but it can not find the file. I use
pd.read_csv('/Users/sara/desktop/file_name.csv', encoding='ansi')
Upvotes: 0
Views: 2058
Reputation: 2092
Unless you have renamed your desktop folder, it should probably be /Users/sara/Desktop/file_name.csv
. Mac file paths are case-sensitive and the desktop folder is capitalized by default.
Upvotes: 1