How to use Pandas Profiling on Kaggle

Data Professor · Beginner ·📰 AI News & Updates ·6y ago

Key Takeaways

This video demonstrates how to use Pandas Profiling on Kaggle for exploratory data analysis, covering installation, generating reports, and saving them as HTML files.

Full Transcript

welcome back to the data professor YouTube channel if you new here my name is Shannon Natasha and Ahmad and I'm an associate professor of bioinformatics on this YouTube channel we cover about data science concepts and practical tutorials so if you're into this type of content please consider subscribing so a couple of days ago I have released a video on how you can install pandas profiling on your own computer and use stupid and notebook to run the pandas profiling to create the report and so some of you might have tried this on the Google collab and encounter some error and so in the previous video I have so in the previous video I have shown you how you can install the pandas profiling inside the Google collab and make it work by hacking it a little bit so in this video I'm going to show you how you can use pandas profiling right inside the cocoon notebook so without further ado let's get started so the first thing that you want to do is head over to the github of the data professor and click on the code scroll down click on Python scroll down and find pandas profiling example click on that wait for it to load a little bit and what you want to click on is the link right here to the capital notebook click on it and it essentially will be the one right here okay you guys my name is rather long and it might be a challenge to type this in to your url okay but if you want to do so give it a try cackle comm / tune in non cinimon / pandas - profiling - example okay so I might provide you a bitly link to shorten the URL so that you can type it easier okay so in this minimal working example I'm going to show you how you can get started in using pandas profiling alright so what you want to do is you want to click on the edit button okay so make sure that you have signed in into your cattle account and so for this you can but the first thing that you want to do is you want to sign in to your cattle account and if you haven't done so please sign up you can sign in using your Gmail using your github okay so before beginning make sure that you have already signed in to your kaggle account and if you haven't yet signed up for it please do so you can easily sign up the traditional way or you can sign in using Gmail or also your github account ok so let's get started so you want to click on the edit button here on the top right and then it will spin up a notebook for you ok and so before beginning make sure to support this notebook by giving it a thumbs up in the previous page I can show you again right right here give it a thumbs up please and so this will help keep me motivated and hopefully other people can discover this notebook as well so that it could be useful to them as well thank you for supporting okay let's begin so you want to import the libraries here and we have numpy pandas and pandas profiling let's run the cell okay and so here we're gonna create a data frame called DF and we're gonna use pandas to create the data frame and it's gonna populate that using numpy random number generator and it's going to randomly generate a hundred rows and five columns and the five column is comprised of ABCDE and let's run that and let's have a look at the generated data frame okay so it works now with the report okay so you might notice that I did not install pan that's profiling it's already pre-installed on Kaggle so you can get right into using it without installing it okay so that's the cool part and here it has to ready generated the reports and let's go down and let's have a look at the widget does it work here okay so the widget works perfectly here so the tabs are working without an issue and this is for the column a column B column C Island de column ye right so there the overall descriptive of the columns and the scatter plots here okay so you have 25 combinations and the correlation showing ask the heatmap okay and you also have spearmen candles and fig and the missing values and the matrix of that and the samples the first ten rows and the last ten rolls okay and similar to the last video let me show you how you can generate the so similar to the last video let me show you how you can generate the report after HTML file so that it will be portable and then you can email this to your colleague scroll down alright so in the saving the report you want to copy the code here and then paste it here and then you want to customize the name okay so in the last one I call it report dot HTML save it let's have a look it said generated yes it is let's have a look inside the file alright so the contents is shown here perfect so you wanna head over to the right panel here and in the data you want to click on it and then you're gonna notice that it has to drop down here and in the output you want to click on it here as well cackle working and notice the report dot HTML and then notice that on the far right you see a download button so you want to click on that one okay and let's click on the report and so similar to the previous video the report as the HTML file so the report here is interactive meaning that you can click on the various headings here and it will go to the appropriate sections okay and the panels here are working perfectly okay all right so you can share this to your colleague and this will allow you to do very rapid expert ory data analysis so hopefully this is helpful to your data science projects and if you find value in this video please give it a thumbs up and I appreciate if you also subscribe if you haven't yet done so and so as always the best way to learn data science is to do data science and so please enjoy the journey thank you for watching please like subscribe and share and I'll see you in the next one but in the meantime please check out these videos

Original Description

In this video, I will show you how to use Pandas Profiling library on Kaggle for your Data Science projects. Particularly, you can use the Pandas Profiling library to rapidly perform exploratory data analysis so as to get a glimpse of the data set. 🌟 Buy me a coffee: https://www.buymeacoffee.com/dataprofessor ⭕Related videos: ✅How to Install and Use Pandas Profiling on Google Colab https://www.youtube.com/watch?v=pLxgt20kKWU ✅Pandas Profiling for Data Science (Quick and Easy Exploratory Data Analysis) https://www.youtube.com/watch?v=Ef169VELt5o ⭕ Playlist: Check out our other videos in the following playlists. ✅ Data Science 101: https://bit.ly/dataprofessor-ds101 ✅ Data Science YouTuber Podcast: https://bit.ly/datascience-youtuber-podcast ✅ Data Science Virtual Internship: https://bit.ly/dataprofessor-internship ✅ Bioinformatics: http://bit.ly/dataprofessor-bioinformatics ✅ Data Science Toolbox: https://bit.ly/dataprofessor-datasciencetoolbox ✅ Streamlit (Web App in Python): https://bit.ly/dataprofessor-streamlit ✅ Shiny (Web App in R): https://bit.ly/dataprofessor-shiny ✅ Google Colab Tips and Tricks: https://bit.ly/dataprofessor-google-colab ✅ Pandas Tips and Tricks: https://bit.ly/dataprofessor-pandas ✅ Python Data Science Project: https://bit.ly/dataprofessor-python-ds ✅ R Data Science Project: https://bit.ly/dataprofessor-r-ds ⭕ Subscribe: If you're new here, it would mean the world to me if you would consider subscribing to this channel. ✅ Subscribe: https://www.youtube.com/dataprofessor?sub_confirmation=1 ⭕ Recommended Tools: Kite is a FREE AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite and I love it! ✅ Check out Kite: https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=dataprofessor&utm_content=description-only ⭕ Recommended Books: ✅ Hands-On Mac
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Data Professor · Data Professor · 60 of 60

← Previous Next →
1 How a Biologist became a Data Scientist
How a Biologist became a Data Scientist
Data Professor
2 WEKA Tutorial #1.1 - How to Build a Data Mining Model from Scratch
WEKA Tutorial #1.1 - How to Build a Data Mining Model from Scratch
Data Professor
3 WEKA Tutorial #1.2 - How to Build a Data Mining Model from Scratch
WEKA Tutorial #1.2 - How to Build a Data Mining Model from Scratch
Data Professor
4 WEKA Tutorial #1.3 - How to Build a Data Mining Model from Scratch
WEKA Tutorial #1.3 - How to Build a Data Mining Model from Scratch
Data Professor
5 Computational Drug Discovery: Machine Learning for Making Sense of Big Data in Drug Discovery
Computational Drug Discovery: Machine Learning for Making Sense of Big Data in Drug Discovery
Data Professor
6 Quotes #1 on Big Data and Data Science
Quotes #1 on Big Data and Data Science
Data Professor
7 Quotes #2 on Big Data and Data Science
Quotes #2 on Big Data and Data Science
Data Professor
8 Quotes #3 on Big Data and Data Science
Quotes #3 on Big Data and Data Science
Data Professor
9 Quotes #4 on Big Data and Data Science
Quotes #4 on Big Data and Data Science
Data Professor
10 Quotes #5 on Big Data and Data Science
Quotes #5 on Big Data and Data Science
Data Professor
11 Data Science 101: Starting a Data Science / Data Mining Project
Data Science 101: Starting a Data Science / Data Mining Project
Data Professor
12 Data Science 101: CRISP-DM - Data Mining / Data Science in 6 Steps
Data Science 101: CRISP-DM - Data Mining / Data Science in 6 Steps
Data Professor
13 R Programming 101: How to Define Variables
R Programming 101: How to Define Variables
Data Professor
14 R Programming 101: Read and Write CSV files
R Programming 101: Read and Write CSV files
Data Professor
15 Data Science 101: Basic Command-Line for Data Science
Data Science 101: Basic Command-Line for Data Science
Data Professor
16 Strategies for Learning Data Science in 2020 (Data Science 101)
Strategies for Learning Data Science in 2020 (Data Science 101)
Data Professor
17 Building your Data Science Portfolio with GitHub (Data Science 101)
Building your Data Science Portfolio with GitHub (Data Science 101)
Data Professor
18 R Programming 101: Setting up R programming environment (R, RStudio and RStudio.cloud)
R Programming 101: Setting up R programming environment (R, RStudio and RStudio.cloud)
Data Professor
19 Exploratory Data Analysis in R: Towards Data Understanding
Exploratory Data Analysis in R: Towards Data Understanding
Data Professor
20 Exploratory Data Analysis in R: Quick Dive into Data Visualization
Exploratory Data Analysis in R: Quick Dive into Data Visualization
Data Professor
21 Machine Learning in R: Building a Classification Model
Machine Learning in R: Building a Classification Model
Data Professor
22 Machine Learning in R: Repurpose Machine Learning Code for New Data
Machine Learning in R: Repurpose Machine Learning Code for New Data
Data Professor
23 Data Science 101: Deploying your Machine Learning Model
Data Science 101: Deploying your Machine Learning Model
Data Professor
24 Machine Learning in R: Deploy Machine Learning Model using RDS
Machine Learning in R: Deploy Machine Learning Model using RDS
Data Professor
25 Data Pre-processing in R: Handling Missing Data
Data Pre-processing in R: Handling Missing Data
Data Professor
26 Machine Learning in R: Speed up Model Building with Parallel Computing
Machine Learning in R: Speed up Model Building with Parallel Computing
Data Professor
27 Data Science 101: Overview of Machine Learning Model Building Process
Data Science 101: Overview of Machine Learning Model Building Process
Data Professor
28 Web Apps in R: Building your First Web Application in R | Shiny Tutorial Ep 1
Web Apps in R: Building your First Web Application in R | Shiny Tutorial Ep 1
Data Professor
29 Web Apps in R: Build Interactive Histogram Web Application in R | Shiny Tutorial Ep 2
Web Apps in R: Build Interactive Histogram Web Application in R | Shiny Tutorial Ep 2
Data Professor
30 Web Apps in R: Building Data-Driven Web Application in R | Shiny Tutorial Ep 3
Web Apps in R: Building Data-Driven Web Application in R | Shiny Tutorial Ep 3
Data Professor
31 Web Apps in R: Building the Machine Learning Web Application in R | Shiny Tutorial Ep 4
Web Apps in R: Building the Machine Learning Web Application in R | Shiny Tutorial Ep 4
Data Professor
32 Web Apps in R: Build BMI Calculator web application in R for health monitoring | Shiny Tutorial Ep 5
Web Apps in R: Build BMI Calculator web application in R for health monitoring | Shiny Tutorial Ep 5
Data Professor
33 Machine Learning in R: Building a Linear Regression Model
Machine Learning in R: Building a Linear Regression Model
Data Professor
34 What programming language to learn for Data Science? R versus Python
What programming language to learn for Data Science? R versus Python
Data Professor
35 How to Become a Data Scientist (Learning Path and Skill Sets Needed)
How to Become a Data Scientist (Learning Path and Skill Sets Needed)
Data Professor
36 Using Python in R
Using Python in R
Data Professor
37 Interpretable Machine Learning Models
Interpretable Machine Learning Models
Data Professor
38 Making Scatter Plots in R [Data Visualisation in R series]
Making Scatter Plots in R [Data Visualisation in R series]
Data Professor
39 Machine Learning in Python: Building a Classification Model
Machine Learning in Python: Building a Classification Model
Data Professor
40 Compare Machine Learning Classifiers in Python
Compare Machine Learning Classifiers in Python
Data Professor
41 Hyperparameter Tuning of Machine Learning Model in Python
Hyperparameter Tuning of Machine Learning Model in Python
Data Professor
42 Practical Introduction to Google Colab for Data Science
Practical Introduction to Google Colab for Data Science
Data Professor
43 File Handling in Google Colab for Data Science
File Handling in Google Colab for Data Science
Data Professor
44 Pandas for Data Science: Create and Combine DataFrames / Rename Columns
Pandas for Data Science: Create and Combine DataFrames / Rename Columns
Data Professor
45 Machine Learning in Python: Building a Linear Regression Model
Machine Learning in Python: Building a Linear Regression Model
Data Professor
46 Machine Learning in Python: Principal Component Analysis (PCA) for Handling High-Dimensional Data
Machine Learning in Python: Principal Component Analysis (PCA) for Handling High-Dimensional Data
Data Professor
47 How to Plot an ROC Curve in Python | Machine Learning in Python
How to Plot an ROC Curve in Python | Machine Learning in Python
Data Professor
48 Installing conda on Google Colab for Data Science
Installing conda on Google Colab for Data Science
Data Professor
49 Use native R on Google Colab for Data Science
Use native R on Google Colab for Data Science
Data Professor
50 How to Save and Download files from Google Colab
How to Save and Download files from Google Colab
Data Professor
51 Easy Web Scraping in Python using Pandas for Data Science
Easy Web Scraping in Python using Pandas for Data Science
Data Professor
52 Data Science for Computational Drug Discovery using Python (Part 1)
Data Science for Computational Drug Discovery using Python (Part 1)
Data Professor
53 Pandas Profiling for Data Science (Quick and Easy Exploratory Data Analysis)
Pandas Profiling for Data Science (Quick and Easy Exploratory Data Analysis)
Data Professor
54 Exploratory Data Analysis in Python using pandas
Exploratory Data Analysis in Python using pandas
Data Professor
55 Quick tour of PyCaret (a low-code machine learning library in Python)
Quick tour of PyCaret (a low-code machine learning library in Python)
Data Professor
56 How to Upload Files to Google Colab
How to Upload Files to Google Colab
Data Professor
57 How to Install and Use Pandas Profiling on Google Colab
How to Install and Use Pandas Profiling on Google Colab
Data Professor
58 How to Adjust the Style of Pandas DataFrame
How to Adjust the Style of Pandas DataFrame
Data Professor
59 How to use Bamboolib for Data Wrangling in Data Science
How to use Bamboolib for Data Wrangling in Data Science
Data Professor
How to use Pandas Profiling on Kaggle
How to use Pandas Profiling on Kaggle
Data Professor

This video teaches how to use Pandas Profiling on Kaggle for rapid exploratory data analysis, including generating and saving reports as HTML files. It covers the basics of Pandas Profiling and how to apply it to data science projects.

Key Takeaways
  1. Import necessary libraries (NumPy, Pandas, Pandas Profiling)
  2. Create a data frame using Pandas
  3. Generate a report using Pandas Profiling
  4. Save the report as an HTML file
  5. Explore the report and its interactive features
💡 Pandas Profiling is a powerful library for rapid exploratory data analysis, and it can be easily used on Kaggle without installation.

Related Reads

📰
From Career Confusion to Career Clarity: Building Supernova AI with Google Gemini
Learn how to build a career path using AI tools like Google Gemini and Supernova AI to gain clarity on skills and certifications
Dev.to · Suchitra Satapathy
📰
12 Industries Being Disrupted by AI Development in 2026
Learn how AI is disrupting 12 industries in 2026, from healthcare to education, and understand the impact on various sectors
Medium · AI
📰
12 Industries Being Disrupted by AI Development in 2026
Learn how AI is disrupting 12 major industries in 2026, from healthcare to education
Medium · Machine Learning
📰
Masayoshi Son says AI will cost $5tn a year by 2040, and calls bubble talk absurd
Masayoshi Son predicts AI will cost $5tn annually by 2040, dismissing bubble talk as absurd, which has significant implications for business strategy and investment in AI development
The Next Web AI
Up next
The average CMO spends $15M per year on AI tools 💰
Uncensored CMO
Watch →