BUG: scalar getitem indexing with CategoricalIndex #16131
Labels
Bug
Categorical
Categorical Data Type
Indexing
Related to indexing on series/frames, not to indexes themselves
Milestone
Scalar
__getitem__
indexing with a CategoricalIndex gives a KeyError (example with two different types of categoricals):so with
loc
it works correctly, as well as when passing a list to[]
(after #16115 is fixed)__getitem__
on the columns works correctly:The text was updated successfully, but these errors were encountered: