title: How to make numpy.argmax return all occurrences of the maximum?
body: <p>I'm trying to find a function that returns <em>all</em> occurrences of the maximum in a given list.</p>
  
  <p><a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.argmax.html" rel="noreferrer"><code>numpy.argmax</code></a> however only returns the first occurrence that it finds. For instance:</p>
  
  <pre><code>from numpy import argmax
  
  list = [7, 6, 5, 7, 6, 7, 6, 6, 6, 4, 5, 6]
  winner = argmax(list)
  
  print winner
  </code></pre>
  
  <p>gives only index <code>0</code>. But I want it to give all indices: <code>0, 3, 5</code>.</p>