0

I am trying to use the IBM Watson Studio Jupyter Notebook to open a csv file but I just can't do it

So typing the normal pandas command will give me the FileNotFoundError

This command

import pandas as pd
pd.read_csv(r'C:\Users\Gaming\Downloads\clean_gdp.csv')

When I ask for to currently working directory with os.getcwd() it returns this

/home/dsxuser/work

But when I ask to change the currently working directory using os.chdir() it just gives me the FileNotFoundError using this:

os.chdir(r'C:\\Users\\Gaming\\Downloads')
Simon O'Doherty
  • 9,259
  • 3
  • 26
  • 54

0 Answers0