[SciPy-Dev] data rankings
Fri Nov 18 16:37:29 CST 2011
On Fri, Nov 18, 2011 at 1:37 PM, <email@example.com> wrote:
> On Fri, Nov 18, 2011 at 2:11 PM, Moritz Emanuel Beber
> <firstname.lastname@example.org> wrote:
> > 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
rankdata is also pretty slow. I have a cythonized version working (along
with tiecorrection), but it is not quite ready for a pull request.
If there is interest, I don't see any reason to not include more ranking
functions in scipy. Moritz, what are the use-cases for the ranking that
> 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
> 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.
> > Cheers,
> > Moritz
> > _______________________________________________
> > SciPy-Dev mailing list
> > SciPy-Dev@scipy.org
> > http://mail.scipy.org/mailman/listinfo/scipy-dev
> SciPy-Dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev