iolib
SimpleTable.
insert_stubs
Return None. Insert column of stubs at column loc. If there is a header row, it gets an empty cell. So len(stubs) should equal the number of non-header rows.
len(stubs)
statsmodels.iolib.table.SimpleTable.insert_header_row
statsmodels.iolib.table.SimpleTable.label_cells