BUG: XS for multiple keys in combination with drop_level=False #41760
Labels
Bug
Indexing
Related to indexing on series/frames, not to indexes themselves
Regression
Functionality that used to work in a prior pandas version
Milestone
I believe a bug was introduced in the update of
xs
in pandas 1.2.0. The problem occurs when requesting multiple keys in combination withdrop_level=False
. I use the following code to highlight the problem I face:In pandas 1.1.5, the following output is generated (as expected):
While in pandas 1.2.4, an exception is raised:
The text was updated successfully, but these errors were encountered: