scipy/scipy — pull request #3396 by juliantaylor (2014-02-26 21:07:56+00:00)
Title: ENH: improve stats.nanmedian more by assuming nans are rare

Move nans to end of array instead of creating a new array without them.
This is faster under the reasonable assumption that nans are rare.