[REVIEW] Update numeric_only
behavior in reduction APIs
#12847
Merged
numeric_only
behavior in reduction APIs
#12847