statsmodels.iolib.summary2.Summary.add_df¶ 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 headerboolReproduce the DataFrame column labels in summary table indexboolReproduce the DataFrame row labels in summary table float_formatstrFormatting to float data columns alignstrData alignment (l/c/r) Last update: Dec 23, 2024