Pandas-profiling: df.profile_report() not working

Created on 8 Jun 2020  ·  4Comments  ·  Source: pandas-profiling/pandas-profiling

documentation 📖 getting started ☝

Most helpful comment

This is actually a bug that should be resolved. I'll look into it.

All 4 comments

Hm, that's not the way you're supposed to use it:
First you create a report:

profile = ProfileReport(df, title="Pandas Profiling Report")

Then you show it:

profile.to_notebook_iframe()

Possibly the README needs updating? It does refer to df.profile_report():

https://github.com/pandas-profiling/pandas-profiling/blob/be8baee64cebb49aea187fa05efe8ba84e7823c8/README.md#L13

This is actually a bug that should be resolved. I'll look into it.

I've looked into the issue and was able to reproduce it in Google Colab. It seems that this is caused by an older version of pandas-profiling. Updating it resolves it. Please don't forget to reload the modules/restart the kernel.

!pip install -U pandas-profiling

The documentation should be updated so that this information is easier to find.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JVoogt picture JVoogt  ·  3Comments

jes08701 picture jes08701  ·  6Comments

VellalaVineethKumar picture VellalaVineethKumar  ·  4Comments

iolap-mmeyyappan picture iolap-mmeyyappan  ·  3Comments

abegong picture abegong  ·  5Comments