code: def record(self, attr, value):
          
          msg = "Call new_epoch before recording for the first time."
          if not self:
              raise ValueError(msg)
          self[-1][attr] = value
docs: Add a new value to the given column for the current
          epoch.