find array corresponding to minimal values along an axis in another array,"np.repeat(np.arange(x), y)"