问题
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