Python | Numpy matrix.min() Last Updated : 15 Apr, 2019 Comments Improve Suggest changes Like Article Like Report With the help of Numpy matrix.min() method, we can get the minimum value from given matrix. Syntax : matrix.min() Return : Return minimum value from given matrix Example #1 : In this example we can see that we are able to get the minimum value from a given matrix with the help of method matrix.min(). Python3 1=1 # import the important module in python import numpy as np # make matrix with numpy gfg = np.matrix('[64, 1; 12, 3]') # applying matrix.min() method geeks = gfg.min() print(geeks) Output: 1 Example #2 : Python3 1=1 # import the important module in python import numpy as np # make a matrix with numpy gfg = np.matrix('[1, 2, 3; 4, 5, 6; 7, 8, -9]') # applying matrix.min() method geeks = gfg.min() print(geeks) Output: -9 Comment More infoAdvertise with us Next Article Python | Numpy matrix.min() J Jitender_1998 Follow Improve Article Tags : Python Python-numpy Python numpy-Matrix Function Practice Tags : python Similar Reads numpy.argmin() in Python The numpy.argmin() method returns indices of the min element of the array in a particular axis. Syntax : numpy.argmin(array, axis = None, out = None) Parameters : array : Input array to work on axis : [int, optional]Along a specified axis like 0 or 1 out : [array optional]Provides a feature to inser 2 min read numpy.amin() in Python The numpy.amin() function returns minimum of an array or minimum along axis(if mentioned). Syntax : numpy.amin(arr, axis = None, out = None, keepdims = <class numpy._globals._NoValue>) Parameters : arr : [array_like]input dataaxis : [int or tuples of int]axis along which we want the min value. 2 min read numpy.fmin() in Python numpy.fmin() function is used to compute element-wise minimum of array elements. This function compare two arrays and returns a new array containing the element-wise minima. If one of the elements being compared is a NaN, then the non-nan element is returned. If both elements are NaNs then the first 2 min read numpy.argmax() in Python The numpy.argmax() function returns indices of the max element of the array in a particular axis. Syntax : numpy.argmax(array, axis = None, out = None) Parameters : array : Input array to work on axis : [int, optional]Along a specified axis like 0 or 1 out : [array optional]Provides a feature to ins 3 min read numpy.nanmin() in Python numpy.nanmin()function is used when to returns minimum value of an array or along any specific mentioned axis of the array, ignoring any Nan value. Syntax : numpy.nanmin(arr, axis=None, out=None) Parameters : arr :Input array. axis :Axis along which we want the min value. Otherwise, it will consider 2 min read Like