Summary.add_df()

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:

df : DataFrame

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

align : string

Data alignment (l/c/r)

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.iolib.summary2.Summary.add_df.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部