BUG: inconsistency in Index.__getitem__ for Numpy and non-numpy dtypes #55820
Labels
API - Consistency
Internal Consistency of API/Behavior
Bug
Deprecate
Functionality to remove in pandas
Index
Related to the Index class or subclasses
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
Not sure what we want to expect here, the Series case raises for all dtypes
cc @jbrockmendel
Expected Behavior
See above
Installed Versions
Replace this line with the output of pd.show_versions()
The text was updated successfully, but these errors were encountered: