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
if allow_fill:
# Pandas style, -1 means NA
validate_indices(indices, len(arr))
result = take_1d(arr, indices, axis=axis, allow_fill=True,
fill_value=fill_value)
It looks to me like the validate_indices call should be validate_indices(indices, arr.shape[axis]).
https://github.com/pandas-dev/pandas/blob/master/pandas/core/algorithms.py#L1528
In core.algorithms.take:
It looks to me like the
validate_indices
call should bevalidate_indices(indices, arr.shape[axis])
.Found while attempting to simplify #26914.
The text was updated successfully, but these errors were encountered: