Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • what is your expected output here? Commented Jun 2, 2013 at 0:47
  • 2
    are you counting duplicates more than once? Commented Jun 2, 2013 at 0:49
  • 2
    possible duplicate of How to get indices of N maximum values in a numpy array? Commented Jun 2, 2013 at 1:07
  • 1
    what about [1,2,2,4,5,10,5,6,10], what would be the output in this case? Commented Jun 2, 2013 at 1:09