In the Data Analysis tutorial, he has no problem importing a csv file using pandas, however, when I attempt to upload the same file: "ZILL-Z77006_MLP.csv" I get an error that reads: "OSError: File b'ZILL-Z77006_MLP.csv' does not exist". I thought the issue might be that I am using ipython, but I copied and pasted the code into IDLE and got the same error. Any suggestions on how to correct this?
You must be logged in to post. Please login or register an account.
Try to give the full path rather than a local path. IPython may be looking in its directory rather than your script's.
-Harrison 9 years ago
You must be logged in to post. Please login or register an account.
Full path does not work either. I'm still getting the 'file does not exist' error.
-lamberbr 9 years ago
You must be logged in to post. Please login or register an account.
Never mind, I appreciate your help, but I found the solution. I simply made the file path into a raw string and the code ran with no problems.
-lamberbr 9 years ago
You must be logged in to post. Please login or register an account.