3
$\begingroup$

I have been working on EDA lately and i got to know about Pandas Profiling , but i am unable to import the module Pandas_Profiling , I could import the module on Google Collab but couldnt import the specific function 'ProfileReport' needed for Profiling , can someone help me wiht it ? I really wanna learn it

$\endgroup$
0

1 Answer 1

4
$\begingroup$

Something to note is that the package name will soon change to ydata-profiling, so we should use the new name. This is the announcement on their Pypi site:

⚠️ pandas-profiling package naming was changed. To continue profiling data use ydata-profiling instead!

Another thing to take into account is that the package is not installed by default on Google Colab, so we need to install it with (see this Colab documentation snippet for details on the ! syntax):

!pip install ydata-profiling

Then, we can import ProfileReport:

from ydata_profiling import ProfileReport
$\endgroup$
1
  • $\begingroup$ Please, consider consider accepting the answer (with the tick mark ✓ next to it). $\endgroup$
    – noe
    Dec 19, 2023 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.