How to Install Pandas-Profiling on Windows?
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:
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:
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 packagesimport pandas as pdimport pandas_profiling # read the filedf = pd.read_csv('Geeks.csv') # run the profile reportprofile = df.profile_report(title='Pandas Profiling Report') |
Output:



