^spx_d.csv in create datasets

can not find the file:

sp500_stooq = (pd.read_csv(‘^spx_d.csv’, index_col=0,
parse_dates=True).loc[‘1950’:‘2019’].rename(columns=str.lower))
print(sp500_stooq.info())


FileNotFoundErrorTraceback (most recent call last)
Cell In[7], line 1
----> 1 sp500_stooq = (pd.read_csv(‘^spx_d.csv’, index_col=0,
2 parse_dates=True).loc[‘1950’:‘2019’].rename(columns=str.lower))
3 print(sp500_stooq.info())

I believe you do have to go to the actual Stooq website to download the data and of course put it in the right folder.