numpy/numpy — pull request #4287 by empeeu (2014-02-13 00:44:30+00:00)
Title: Closes issue #586. Updates handling of nan behaviour in numpy.lib.function_base.median.

Please review and add to main branch. I also included a unit test to help with the review process.

(also, I'm considering writing a nanmedian function which would ignore nans, similar to the nansum, nanmax, etc. series of functions.)