1

使用默认示例显示报告时:

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}})

未显示相关性热图。

如何调查进度条中的警告?

在此处输入图像描述

4

1 回答 1

0

进度条让您了解 pandas-profiling 所做的计算。

要查看输出,您有几个选项。查看它们的最简单方法是生成 HTML 报告:

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)
于 2020-04-26T23:48:52.913 回答