Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to Install Pandas-Profiling on Windows?

  • Last Updated : 09 Sep, 2021

In this article, we will look into ways of installing the Pandas Profiling package in Python.

Prerequisites:

  • Python
  • PIP or Conda (Depending upon preference)

For PIP Users:

Pip users can just open up the command prompt and use the below command to install the Pandas profiling package in python:

 Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.  

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning - Basic Level Course

pip install pandas-profiling

The following message will be shown once the installation is completed:



Installing Pandas profiling package in python

For Conda Users:

Conda users can open up the Anaconda Power Shell Prompt and use the below command to install the pandas profiling package in python:

conda install -c anaconda pandas-profiling 

The following message will be shown once the installation is completed:

installing pandas profiling using conda

Verifying the Installation:

You can use the below code to verify your installation. Make sure to add a sample .csv file having some data to check the installation and replace the Geeks.csv file in the below code.

Python3




#import the packages
import pandas as pd
import pandas_profiling
  
# read the file
df = pd.read_csv('Geeks.csv')
  
# run the profile report
profile = df.profile_report(title='Pandas Profiling Report')

Output:

verifying pandas profiling installation

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!