code: def _bld_pab_generic(self, funcname, **kwargs):
          
          margs = {'mtype': pab, 'kwargs': kwargs}
          setattr(self, funcname, margs)
docs: implements a generic version of an attribute based pandas function