Course Name: Getting Market Data: Stocks, Crypto, News & Fundamental, Section No: 11, Unit No: 1, Unit type: Notebook
I'm running all codes in Spyder as I go through the courses. I keep getting the error "No such file or directory: '…/data_modules/xxxxx.csv"
I know it's unable to find the folder "data_modules", I did download and unzip but I'm not sure where I am supposed to put it so the path is directed at it.
Thanks
I went ahead and hard-coded where I thought the "path +" should point to and it works, so obviously it needs to be placed somewhere else???
Here is where I hard-coded it to:
apple_price_data = pd.read_csv('C:/Users/jeffa/Desktop/Spyder Python Files/Getting-Market-Data-Resources/data_modules/AAPL.csv', index_col=0)
Anyone have any thoughts?
Hi Jeff,
Let's say you unzipped the downloadable file on the desktop. From spyder, you need to go to the unzipped folder on the desktop and directly upload that file in spyder. This step doesn't require any change in the code.
You can directly upload the files using the below-highlighted tab.