how to apply idxmax to more than one dimension? #4957
Answered
by
mathause
raybellwaves
asked this question in
Q&A
-
Is there a way to do something like
|
Beta Was this translation helpful? Give feedback.
Answered by
mathause
Feb 25, 2021
Replies: 1 comment 1 reply
-
I don't think da.argmax(["x", "y"]) out: {'x': <xarray.DataArray ()>
array(2),
'y': <xarray.DataArray ()>
array(1)} We should really align the two... |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
raybellwaves
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't think
idxmax
can currently do this. Butargmax
canout:
We should really align the two...