CLN: make_stat_function for numeric methods in core/generic.py