statsmodels.iolib.table.SimpleTable.insert#

SimpleTable.insert(idx, row, datatype=None)[source]#

Insert a row into a table

Parameters:
idxint

The index at which to insert the row.

rowsequence of data or cells

The row to insert.

datatypestr, optional

The datatype of the row, e.g. ‘data’ or ‘header’. If None, taken from row.datatype if available.