code: def summary(self, compute=False) -> pd.DataFrame:
          
          if compute or self.result is None:
              self.compute()
          return summary(self.result)
docs: :param compute: if should call compute method
          :return: