statsmodels.iolib.table.SimpleTable.insert_stubs

method

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.