How to deal with multi-level column names downloaded with yfinance

Download all tickers into single dataframe with single level column headers Option 1 When downloading single stock ticker data, the returned dataframe column names are a single level, but don’t have a ticker column. This will download data for each ticker, add a ticker column, and create a single dataframe from all desired tickers. import … Read more