Reputation: 111
Yesterday I imported an sas file into Pandas, and was able to successfully poke around the data. This morning, I received a file not found error, although I did not move any files.
I triple-checked the path and it was correct. Then I tried placing a copy of the file on my desktop and redirecting read command. Same error. (This is the type of thing that makes you feel crazy.) Any help appreciated.
Upvotes: 0
Views: 249
Reputation: 314
Unless that you have a folder named Dropbox
inside your project directory, I suggest you use the full path of your file:
/home/<username>/Dropbox/Thesis Fall 2017/Data Analysis/epcg17.xpt
OR
~/Dropbox/Thesis Fall 2017/Data Analysis/epcg17.xpt
Both should work.
Upvotes: 1