Open In App

How to Install Pandas-Profiling on Windows?

Improve
Improve
Like Article
Like
Save
Share
Report

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:

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


Last Updated : 09 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads