import numpy as np arr = np.array([[ 1, 2, 3], [2, 4, 6]]) arr. min ( =0) code example
Example: how to import numpy array in python
>>> import numpy as np
>>> a = np.array([0, 1, 2, 3])
>>> a
array([0, 1, 2, 3])
>>> import numpy as np
>>> a = np.array([0, 1, 2, 3])
>>> a
array([0, 1, 2, 3])