BUG: .loc against CategoricalIndex may result in normal Index #11586
Labels
Bug
Categorical
Categorical Data Type
Indexing
Related to indexing on series/frames, not to indexes themselves
Milestone
.loc
againstCategoricalIndex
with values included in itscategories
but not appears ascodes
results in normalIndex
Even though this is tested here, it doesn't check dtype.
The text was updated successfully, but these errors were encountered: