How to investigate warnings in progress bar in pandas_profiling

徘徊边缘 提交于 2021-01-29 04:51:19

问题


When using the default example for displaying a report:

df = pd.DataFrame(
    np.random.rand(100, 5),
    columns=['a', 'b', 'c', 'd', 'e']
)

profile = ProfileReport(df, title='Pandas Profiling Report', html={
                        'style': {'full_width': True}})

the correlations heatmaps are not shown.

How can I investigate the warnings from the progress bar?


回答1:


The progress bar keeps you informed on the calculations that pandas-profiling does.

To view the output, you have several option. The easiest way to view them is by generating a HTML report:

df = pd.DataFrame(
    np.random.rand(100, 5),
    columns=['a', 'b', 'c', 'd', 'e']
)

profile = ProfileReport(df, title='Pandas Profiling Report', html={
                        'style': {'full_width': True}})
profile.to_file("report.html", silent=False)


来源:https://stackoverflow.com/questions/60744071/how-to-investigate-warnings-in-progress-bar-in-pandas-profiling

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!