title: How to find the index of n largest elements in a list or np.array, Python
body: <p>Is there a built-in function or a very simple way of finding the index of n largest elements in a list or a numpy array?</p>
  
  <pre><code>K = [1,2,2,4,5,5,6,10]
  </code></pre>
  
  <p>Find the index of the largest 5 elements?</p>
  
  <p>I count the duplicates more than once, and the output should be a list of the indices of those largest numbers</p>