why is the axis None part now here and inside _nanmedian
this can be removed and let _ureduce handle the keepdims