BUG: Slicing of Index with strings does not raise anymore when keys are not in Index #37810
Labels
Bug
Error Reporting
Incorrect or improved errors from pandas
Indexing
Related to indexing on series/frames, not to indexes themselves
Needs Discussion
Requires discussion from core team before further action
The following
Should raise a
KeyError
. This worked in the past (see #18531) but does not anymore. Question is if we should raise inslice_locs
if start and end are equal or if we should do this after calling the function.cc @jreback
The text was updated successfully, but these errors were encountered: