Issues with Pandas Profiling

我们两清 提交于 2020-05-30 08:00:29

问题


When I am trying to generate report using pandas profiling , I am getting below error while using below code:

KeyError: 'script_values'

import pandas_profiling
from pandas_profiling import ProfileReport
report = ProfileReport(df)
report

Can you please let me know why I am getting 'script_values' error. I googled all around but not able to find a solution.


回答1:


There was a compatibility issue with one of the dependencies. A fix has been released. Your problem should be resolved by updating to v2.7.1 (e.g. pip install -U pandas-profiling).

The manual steps as described by @jrp also work.



来源:https://stackoverflow.com/questions/61729586/issues-with-pandas-profiling

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