+ 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?
2 Antworten
+ 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')
+ 1
Thank you Cristi!