<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def insert_row(self, index, row):
 """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. """

        row = self._validate_row(row)
        row_obj = RowData(self, row)
        self._table.insert(index, row_obj)