CLN: nanops
This sits on top of #37394.  The cleanup in _maybe_get_mask means that we end up getting a correctly-dtyped result instead of object-dtype, which becomes important in the upcoming nanmean PR.
thanks