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:
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 pandas as pd
import pandas_profiling
df = pd.read_csv( 'Geeks.csv' )
profile = df.profile_report(title = 'Pandas Profiling Report' )
|
Output:
Last Updated :
09 Sep, 2021
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...