Profiling in Pandas

Abhishek Srinivasan
The Startup
Published in
2 min readOct 12, 2019

A Single Command in python to get insights about the dataset.

Using the below command, Install the Pandas profiling package to your Notebook

After installing the pandas-profiling package, import the same to your notebook using the following command.

After importing the profiling package, Get the insight about a dataset using the below command where data is a variable which is of DataFrame Type.

The above command creates a Profile Report of the DataFrame which includes a complete overview of the DataFrame, Univariate analysis of all the features present inside the DataFrame, Correlation between the features of the DataFrame, description of the missing values and the sample of the data.

Let’s look at each property in detail.

  1. Overview of the DataFrame.
*Titanic Survival DataSet.

2.Univariate Analysis of all the features.

3.Correlation Matrix.

4.Missing Values.

5.Sample Data.

It displays the first and the last 10 rows from the DataFrame.It can also be exported as a document to present about the DataFrame.Pandas Profiling in python will make the Exploratory Analysis Stage much more simple and easy.

--

--