code: def insert_row(self, index, row):
          
          row = self._validate_row(row)
          row_obj = RowData(self, row)
          self._table.insert(index, row_obj)
docs: Insert a row before index in the table.
  
          Parameters
          ----------
          index : int
              List index rules apply
  
          row : iterable
              Any iterable of appropriate length.
  
          Raises
          ------
          TypeError:
              If `row` is not an iterable.
  
          ValueError:
              If size of `row` is inconsistent with the current number
              of columns.