Articles → NUMPY → Amax Function In NumpyAmax Function In NumpyIn this article, we will discuss amax function in NumPy.Purpose Returns the maximum value in the collection.Example import numpy as np in_array = np.array([1,2,3,4,5,6,7,8,9]) print("Maximum value in an array is:", np.amax(in_array))Output Click to EnlargePosted By - Karan Gupta Posted On - Thursday, June 27, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
import numpy as np in_array = np.array([1,2,3,4,5,6,7,8,9]) print("Maximum value in an array is:", np.amax(in_array))
Query/Feedback