Search code examples
pandasdata-sciencepandas-profiling

Issues with Pandas Profiling


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.


Solution

  • 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.