NumPy - Aggregation Functions
Which of the following is the correct NumPy function syntax to find the maximum value in a NumPy array named
arr?arr?np.max(arr) correctly finds the maximum value in the array arr.np.maximum() compares two arrays element-wise. max(arr) is Python's built-in max, which works on lists but not efficiently on NumPy arrays.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions