[SciPy-User] scipy.stats.nanmedian

Keith Goodman kwgoodman at gmail.com
Fri Jan 22 11:17:48 EST 2010


On Fri, Jan 22, 2010 at 7:58 AM, Bruce Southey <bsouthey at gmail.com> wrote:
> Is it possible to adapt Sturla's version?
> http://projects.scipy.org/numpy/ticket/1213
> I do not know the algorithm to suggest anything but perhaps the select
> method could be adapted to handle nan.

I recently needed to calculate the median in an inner loop. It would
have been nice to have a median function that doesn't do a full sort.
I wanted to compile Sturla's version, but I didn't even know which of
the attachments to download. I've never compiled a cython function.



More information about the SciPy-User mailing list