code: def restore(self):
          
          if self.backup_df is None:
              self.warning("No dataframe is backed up: nothing restore")
              return
          self.df = self.backup_df
          self.ok("Dataframe is restored")
docs: Restore the main dataframe