code: def _bld_pnab_generic(self, funcname, **kwargs):
          
          margs = {'mtype': pnab, 'kwargs': kwargs}
          setattr(self, funcname, margs)
docs: implement's a generic version of a non-attribute based pandas function