NumPy - Aggregation Functions
Consider the code:
What is the correct output of
import numpy as np arr = np.array([[2, 5, 1], [7, 3, 9]]) index = np.argmax(arr, axis=1)
What is the correct output of
index?