scipy/scipy — pull request #436 by WarrenWeckesser (2013-02-15 18:19:50+00:00)
Title: BUG: stats.rankdata returned incorrect results for ties with a large number of elements

Instead of accumulating the ranks of the tied elements, a simple formula is used
for the average rank.