implements a generic version of an attribute based pandas function

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