argmax
and argmin
give incorrect results on option types when axis=None
#1106
Labels
argmax
and argmin
give incorrect results on option types when axis=None
#1106
Version of Awkward Array
1.5.0
Description and code to reproduce
Consider
What is happening is that
ak._util.completely_flatten
is dropping theNone
values, consequently shifting the position of the elements before callingnp.argmax
.The text was updated successfully, but these errors were encountered: