statsmodels.iolib.summary2.Summary.add_dict

Summary.add_dict(d, ncols=2, align='l', float_format='%.4f')[source]

Add the contents of a Dict to summary table

Parameters:
ddict

Keys and values are automatically coerced to strings with str(). Users are encouraged to format them before using add_dict.

ncolsint

Number of columns of the output table

alignstr

Data alignment (l/c/r)

float_formatstr

Formatting to float data columns


Last update: Nov 14, 2024