[SciPy-Dev] data rankings
Fri Nov 18 13:37:40 CST 2011
On Fri, Nov 18, 2011 at 2:11 PM, Moritz Emanuel Beber
> Dear all,
> I recently had to rank some data and I came across the
> scipy.stats.rankdata function. It didn't quite do what I wanted (using
> the terminology of this wikipedia page
> http://en.wikipedia.org/wiki/Ranking it performs 'fractional' ranking)
> so I went ahead and wrote functions for the other types of rankings.
rankdata is mostly a support function for the rank based tests, see
There is also percentileofscore in stats with more options, but
doesn't do full ranking, but I think could also be rewritten and
I think, the main question whether other rankings should be included,
is whether it cannot be simply done with numpy.searchsorted.
> So, is there any interest in my contributing this code? If yes, can you
> point me to guidelines on how to submit it? I didn't find any hints for
> that online.
some information for contributing is here http://projects.scipy.org/scipy/wiki
I haven't looked at this in a long time
contribute seems to require login, the other links redirect to the
source files on github that are rst, rendered as html.
The best way now is to open a pull request on github.
> SciPy-Dev mailing list
More information about the SciPy-Dev