CLN: only call _wrap_results one place in nanmedian
~see my comments on #37674 I don't think this improves clarity generally by removing this call as then a future reader will have to parse individual paths and determine what is float returning and what is not. (now general cleaning of course is good).~

nvm didn't look clearly first. this is a good change.