ydataai / ydata-profiling

1 Line of code data quality profiling & exploratory data analysis for Pandas and Spark DataFrames.

Home Page:https://docs.profiling.ydata.ai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Colab error - ydata-profiling not found

Praveer1981 opened this issue · comments

Current Behaviour

Unable to import ydata_profiling in the google colab.
from ydata_profiling import ProfileReport

Error:

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 2>()
1 #from ydata_profiling import ProfileReport
----> 2 from ydata_profiling import ProfileReport

ModuleNotFoundError: No module named 'ydata_profiling'


NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

Expected Behaviour

I should be able to import the module.

Data Description

we can use any dataset
https://github.com/mwaskom/seaborn-data

Code that reproduces the bug

No response

pandas-profiling version

3.6.6

Dependencies

pandas version =  1.5.3
numpy version =  1.23.5

OS

No response

Checklist

  • There is not yet another bug report for this issue in the issue tracker
  • The problem is reproducible from this bug report. This guide can help to craft a minimal bug report.
  • The issue has not been resolved by the entries listed under Common Issues.

Hi @Praveer1981 ,

Have you installed ydata-profiling prior the import with pip install ydata-profiling? What is the python version used in your Google Colab?

Also take into consideration that pandas-profiling was renamed to ydata-profiling, for that reason pip install pandas-profiling is not longer actively supported.

Can you please share more details?