statsmodels.iolib.table.SimpleTable.as_csv#

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

Return the table in CSV format

Currently only supports comma separator.

Parameters:
**fmt_dict

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

Returns:
str

The table formatted as CSV.