def save(self, fname, remove_data=False):
        from statsmodels.iolib.smpickle import save_pickle

        if remove_data:
            self.remove_data()

        save_pickle(self, fname)
save a pickle of this instance
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/base/wrapper.py/ResultsWrapper.save