title: I have need the N minimum (index) values in a numpy array
body: <p>Hi I have an array with X amount of values in it I would like to locate the indexs of the ten smallest values. In this link they calculated the maximum effectively, <a href="https://stackoverflow.com/questions/6910641/how-to-get-the-n-maximum-values-in-a-numpy-array">How to get indices of N maximum values in a numpy array?</a>
  however I cant comment on links yet so I'm having to repost the question. </p>
  
  <p>I'm not sure which indices i need to change to achieve the minimum and not the maximum values.
  This is their code </p>
  
  <pre><code>In [1]: import numpy as np
  
  In [2]: arr = np.array([1, 3, 2, 4, 5])
  
  In [3]: arr.argsort()[-3:][::-1]
  Out[3]: array([4, 3, 1]) 
  </code></pre>