statsmodels.iolib.table.SimpleTable.insert_header_row#

SimpleTable.insert_header_row(rownum, headers, dec_below='header_dec_below')[source]#

Insert a row of headers

Parameters:
rownumint

The index at which to insert the header row.

headerssequence of str

The header strings, one per column. The strings may contain newlines, to indicate multiline headers.

dec_belowstr

The decoration tag to use below the header row.