def _SetRowIndex(self, row):
    if not row or row > self.size:
      raise TableError('Entry %s beyond table size %s.' % (row, self.size))
    self._row_index = row
dataset/ETHPy150Open google/textfsm/texttable.py/TextTable._SetRowIndex/original