4.5.7.3.3.1.14. statsmodels.iolib.table.SimpleTable.insert_stubs

SimpleTable.insert_stubs(loc, stubs)[source]

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.