min index pyhthon code example Example: index to min python import numpy as np index_min = np.argmin(values)