Index of multiple minimum elements in a list
Find the minimum value, then iterate the list with index using enumerate
to find the minimum values:
>>> a = [2,4,5,2]
>>> min_value = min(a)
>>> [i for i, x in enumerate(a) if x == min_value]
[0, 3]
You can do that using numpy in the following way:
import numpy as np
a = np.array([2,4,5,2])
np.where(a==a.min())