I'm trying to perform this function on two 2D numpy arrays:
Step 1: Find np.argmax(b, axis=1)
indices.
Step 2: Find b[indices] > a[indices]
Step 3: Return value in a 2D Boolean array.
I tried this:
np.where((b>a)&np.argmax(b,axis=1).reshape((3,-1)), True, False)
but no dice. Any ideas?
Thanks in advance.