ENH: add runtime warning for all nan slice of nanmedian