6.10.3.2.1.1.14. statsmodels.sandbox.tools.mctools.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.