I managed to solve my problem for the ticker close data where my code is: tkData = yf.download(tickers = tk, period = "max", interval = "1d") tkData.reset_index ...