statsmodels.iolib.table.SimpleTable.as_latex_tabular#

SimpleTable.as_latex_tabular(center=True, **fmt_dict)[source]#

Return the table as a LaTeX tabular environment

Parameters:
centerbool

If True, wrap the tabular environment in a center environment.

**fmt_dict

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

Returns:
str

The table formatted as a LaTeX tabular environment.

Notes

Requires the booktabs package.