code: def _index(self, row):
          
          self.rows.append(row)
          self._keys.update(row.keys())
          self._steps += 1
docs: Add a row to the internal list of rows without writing it to disk.
  
          This function should keep the data structure consistent so it's usable
          for both adding new rows, and loading pre-existing histories.