statsmodels.iolib.table.SimpleTable.as_html#

SimpleTable.as_html(**fmt_dict)[source]#

Return the table in HTML format

This is the default formatter for HTML tables.

Parameters:
**fmt_dict

Additional formatting options that override the table’s HTML formatting.

Returns:
str

The table formatted as HTML.