statsmodels.iolib.summary2.Summary.add_df¶
method
-
Summary.
add_df
(df, index=True, header=True, float_format='%.4f', align='r')[source]¶ Add the contents of a DataFrame to summary table
- Parameters
- dfDataFrame
- header: bool
Reproduce the DataFrame column labels in summary table
- index: bool
Reproduce the DataFrame row labels in summary table
- float_format: string
Formatting to float data columns
- alignstring
Data alignment (l/c/r)