Home > Mobile >  Can't read csv file on Jupyter notebook
Can't read csv file on Jupyter notebook

Time:09-26

Can't open csv file on jupyter notebook. Every time I try to open up, I get this...

Any suggestions or advice would be much appreciated!

The problem

CodePudding user response:

The issue is with the forward slashes in your path. Change them to double backslashes:

C:/Users/nsap/desktop...

to

C:\\Users\\nsap\\desktop

Please see this stackoverflow link for more info Error while reading a csv file in python using pandas

CodePudding user response:

Try

df = pd.read_csv(r'Path where the CSV file is stored\File name.csv')
  • Related