[BUG] loc
behavior differs from pandas when a duplicated index is requested
#8693
Milestone
loc
behavior differs from pandas when a duplicated index is requested
#8693
Describe the bug
When we have a series with a duplicated index such as
And we try and fetch the items corresponding to that duplicated index, we get just the first element rather than a series of all the elements corresponding to that index:
Steps/Code to reproduce bug
See above
Expected behavior
We should get the same thing as pandas, basically all the rows corresponding to that index gathered.
Environment overview (please complete the following information)
Environment details
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: