Rolling correlation for DataFrame with MultiIndex columns broken in Pandas 0.23 #21157
Labels
Bug
MultiIndex
Regression
Functionality that used to work in a prior pandas version
Window
rolling, ewma, expanding
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Code Sample
Problem description
Since the Pandas 0.23 release it is no longer possible to calculate rolling correlation on a pd.DataFrame which has a pd.MultiIndex column index. An exception is raised in 0.23. In 0.22 a valid rolling correlation result is returned.
Expected Output
Pandas should return the same rolling correlation matrix as it returns for a data frame with simple index, but with the multi index levels in columns and index as they appeared in 0.22.
The text was updated successfully, but these errors were encountered: