Articles → NUMPY → Amax Function In Numpy

Amax Function In Numpy






Purpose





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


Picture showing output of amax function in numpy
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, June 27, 2019

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250