如何调查pandas_profiling中进度栏中的警告

时间:2020-03-18 16:53:54

标签: python pandas dataframe pandas-profiling

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

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

相关热图未显示。

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

enter image description here

1 个答案:

答案 0 :(得分:0)

进度条可让您了解熊猫配置文件进行的计算。

要查看输出,您有几个选择。查看它们的最简单方法是生成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)