-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError
for ak.argsort
on arrays with None
#2768
Comments
From the error, it looks like |
Thank you! Just to mention one more thing, it seems that an error also occurs when trying to use the result of
There is an error (pasted below) on the
|
Version of Awkward Array
2.4.6
Description and code to reproduce
It seems that
ak.argsort
does not work on arrays that are entirelyNone
, thoughak.sort
works fine. I would have naively expected that ifsort
works on an array,argsort
would also work on the array, so it is not clear to me if this behavior would be expected or not. Here is an example that reproduces the behavior:The
ak.sort
line is ok (and prints[None, None, [None, None]]
), while theak.argsort
line fails with the error below:The text was updated successfully, but these errors were encountered: