Re:Have you read your Python Docs Lately?
by natnat on Sunday May 01, 2011 @03:32AM
(#2502609)
Not to pick nits, but this is off by one. If you need the n most common elements, you should use
because the element at
is actually the n-1th most common element.
[ Parent
| on HN ]
There are no comments on this comment yet.