I have a dataframe with the following structure. prices["Close"]["AAPL"] = series; prices["Open"]["AAPL"] = series; prices["Close"]["MSFT"] = series; prices["Open"]["MSFT"] = series.
prices["Close"]["AAPL"] = series; prices["Open"]["AAPL"] = series; prices["Close"]["MSFT"] = series; prices["Open"]["MSFT"] = series
I want the end result to be a dataframe for each ticker so the one dataframe becomes a dataframe for each ticker with the structure prices["Close"] = series; prices["Open"] = series. What would be a good way to convert dataframe?
prices["Close"] = series; prices["Open"] = series
2.1m questions
2.1m answers
60 comments
57.0k users