ENH: Added code generator for loop lookup in  generate_umath.py
Groupby types index difference from NPY_TYPES enum defined in ndarray_types.h. Made if-else condition over continous range and constant difference.