Python 如何从配置文件中运行配置文件报告?

Python 如何从配置文件中运行配置文件报告?,python,pandas,pandas-profiling,Python,Pandas,Pandas Profiling,我使用下面的代码导入了pandas、numpy和pandas profiling,但由于某些原因,它不会显示任何数据,而是显示3行信息,因此下面是代码: from pandas_profiling import ProfileReport profile=ProfileReport(df, title='Pandas Profiling Report', html={'style':{'full_width':True}}) profile …以下是输出: HBox(children=(HTM

我使用下面的代码导入了pandas、numpy和pandas profiling,但由于某些原因,它不会显示任何数据,而是显示3行信息,因此下面是代码:

from pandas_profiling import ProfileReport
profile=ProfileReport(df, title='Pandas Profiling Report', html={'style':{'full_width':True}})
profile
…以下是输出:

HBox(children=(HTML(value='Summarize dataset'), FloatProgress(value=0.0, max=26.0), HTML(value='')))


HBox(children=(HTML(value='Generate report structure'), FloatProgress(value=0.0, max=1.0), HTML(value='')))


HBox(children=(HTML(value='Render HTML'), FloatProgress(value=0.0, max=1.0), HTML(value='')))

有人知道为什么它不工作吗?

如果使用Jupyter,您可以尝试启用小部件。在控制台中键入以下命令,然后重新启动Jupyter并再次运行报告
jupyter nbextension enable--py-widgetsnbextension
我已经在Internet Explorer上使用了jupyter。我还尝试了您提供的扩展代码,按照说明进行操作,但仍然显示相同的注释。无论如何,谢谢您的时间。请尝试运行此命令
jupyter labextension install@jupyter widgets/jupyterlab manager
无法将其作为命令找到如果使用jupyter,您可以尝试启用小部件。在控制台中键入以下命令,然后重新启动Jupyter并再次运行报告
jupyter nbextension enable--py-widgetsnbextension
我已经在Internet Explorer上使用了jupyter。我还尝试了您提供的扩展代码,按照说明进行操作,但仍然显示相同的注释。无论如何,谢谢您的时间。请尝试运行此命令
jupyter labextension install@jupyter widgets/jupyterlab manager
它无法作为命令找到它