code: def to_string(self, verbose=0):
          
          rows = [[it + 1] + list(map(str, (self[k][it] for k in self.keys())))
                  for it in range(self.num_iterations)]
  
          return tabulate(rows, headers=["Iter"] + list(self.keys()))
docs: String representation.