Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

How to Install Pandas-Profiling on Linux?

  • Last Updated : 18 Oct, 2021

In this article, we will learn how to install Pandas-Profiling in Python on Linux.

Pandas profiling is an open-source Python module with which we can quickly do an exploratory data analysis with just a few lines of code. Besides, if this is not enough to convince us to use this tool, it also generates interactive reports in a web format that can be presented to any person, even if they don’t know to program.

In short, what pandas profiling does is save us all the work of visualizing and understanding the distribution of each variable. It generates a report with all the information easily available.

Installation:

Method 1: Using pip to install Pandas-Profiling Package

Follow the below steps to install the Pandas-Profiling package on Linux using pip:

Step 1: Install the latest Python3 in Linux 



Step 2: Check if pip3 and python3 are correctly installed.

python3 --version
pip3 --version

checking python and pip version in linux

Step 3: Upgrade your pip to avoid errors during installation.

pip3 install --upgrade pip

upgrading pip in Linux

Step 4: Enter the following command to install Pandas-Profiling using pip3.

pip3 install Pandas-Profiling

installing Pandas-Profiling package on Linux using pip

Method 2: Using setup.py to install Pandas-Profiling

Follow the below steps to install the Pandas-Profiling package on Linux using the setup.py file:

Step 1: Download the latest source package of Pandas-Profiling for python3 from here.



curl https://files.pythonhosted.org/packages/03/60/a0031ba821b75e71b81bd8d43a3e03bc233697baca58790b506592900a97/pandas-profiling-3.1.0.tar.gz > pandas-profiling.tar.gz

downloading the source package for Pandas-Profiling in Linux

Step 2: Extract the downloaded package using the following command.

tar -xvzf pandas-profiling.tar.gz

extracting the pandas-profiling.tar.gz file in Linux

Step 3: Go inside the folder and Enter the following command to install the package.

cd pandas-profiling-3.1.0
python3 setup.py install

installing Pandas-Profiling on Linux  using the setup.py file

Verifying Pandas-Profiling installation on Linux :

Make the following import in your python terminal to verify if the installation has been done properly:

import pandas_profiling

Verifying Pandas-Profiling installation on Linux

If there is any error while importing the module then is not installed properly.

My Personal Notes arrow_drop_up
Recommended Articles
Page :