You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not sufficient to check for isinstance(i, int) since the index
may be a numpy type for which this check is False. Instead, invert the
condition and check if the return value from _get_elements_from_column
is a Column, in which case we should get an Index back.
Closesrapidsai#12954.
Describe the bug
Contrast, pandas, where indexing with a single value gives us a scalar in both cases.
Expected behavior
This should work, I think.
The text was updated successfully, but these errors were encountered: