Skip to content

DEPR: ignoring missing labels when indexing on MultiIndex level #42351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 14, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into depr-mi-set
  • Loading branch information
jbrockmendel committed Jul 14, 2021
commit e44b26292e7ebb31df724a5df11897ff51e1863b
3 changes: 1 addition & 2 deletions pandas/core/indexes/multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3267,8 +3267,7 @@ def _update_indexer(idxr: Index, indexer: Index) -> Index:
x, level=i, indexer=indexer # type: ignore[arg-type]
)
except KeyError:

# ignore not founds
# ignore not founds; see discussion in GH#39424
warnings.warn(
"The behavior of indexing on a MultiIndex with a nested "
"sequence of labels is deprecated and will change in a "
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.