+ 2

Im having an issue working with directories. My issue is with importing .csv files. I use the code indicated in the documenration--pd.read_csv,()--for ipython but i keep getting the error message stating the file does not exist. Any general ideas of what i might be doing wrong?

23rd Jan 2017, 8:46 PM
FunkMastaFletch
FunkMastaFletch - avatar
2 Respostas
+ 2
make sure you are specifying the full path to the file pd.read_csv('e\\users\\dev\\file.csv') or you can import os and do os.chdir( 'e\\users\\dev') and then you can pd.read_csv('file.csv')
23rd Jan 2017, 8:51 PM
Cristi Vlad
Cristi Vlad - avatar
+ 1
Thank you Cristi!
23rd Jan 2017, 8:53 PM
FunkMastaFletch
FunkMastaFletch - avatar