I have four dataframes vom yfinance:
dataVIX = yf.download('^VIX', '2008-01-01', date.today(), auto_adjust=True)
dataGOLD = yf.download('GLD', '2008-01-01', date.today(), auto_adjust=True)
dataBOND = yf.download('^TNX', '2008-01-01', date.today(), auto_adjust=True)
datasp500 = yf.download('^GSPC', '2008-01-01', date.today(), auto_adjust=True)
Now I would like to merge those four data frames into one and group by date. Like this:
date Vix Gold
2008-01-01 Closing Value X Closing Value Y ...
...
Everything I try comes out as bs. Any suggestions?