SlideShare a Scribd company logo
3
Most read
14
Most read
16
Most read
MODY UNIVERSITY OF SCIENCE
ANDTECHNOLOGY
Colloquium Presentation
CS 14.371
Submitted to-
Dr. Pervesh Kumar
Bishnoi
Ms. Sonal Shukla
Submitted by-
Akshita Kanther
B.Tech. IIIrd yr C2
Er.No.-180161
Presentation on data preparation with pandas
CONTENTS
Introduction
Why Should We Prepare Our Data
Python
Python Libraries
Pandas
Features of Pandas
Core Components Of Pandas
Pandas Operations
Typical Pipeline For Data Preparation
Common Tasks Involved In Data Preparation
Applications Of Pandas
Companies using Pandas
Summary
INTRODUCTION
Data preparation is the first step after you get your
hands on any kind of dataset. This is the step when you
pre-process raw data into a form that can be easily and
accurately analyzed. Proper data preparation allows for
efficient analysis - it can eliminate errors and
inaccuracies that could have occurred during the data
gathering process and can thus help in removing some
bias resulting from poor data quality. Therefore a lot of
an analyst's time is spent on this vital step.
WHY SHOULD
WE PREPARE
OUR DATA
Garbage in, garbage out
Reduce errors
Remove duplicate records
Fix missing values
Correct range values
Fix formatting (i.e. date, text, number)
PYTHON
 Object-oriented, high-level
programming language
 Used as a scripting language to
connect existing components
together
 Simple, easy to learn syntax
emphasizes readability
 Supports modules and
packages
PYTHON LIBRARIES
Many popular Python
toolboxes/libraries:-
• NumPy
• SciPy
• Pandas
• SciKit-Learn
Visualization libraries:-
• matplotlib
• Seaborn
Presentation on data preparation with pandas
PANDAS
• Pandas is a software library written for Python
• Pandas has so many uses that it might make sense to list
the things it can't do instead of what it can do
• This tool is essentially your data’s home. Through pandas,
you get acquainted with your data by cleaning,
transforming, and analyzing it
• Pandas is well suited for different kinds of data, such as:
 Tabular data with heterogeneously-typed columns
 Ordered and unordered time series data
 Arbitrary matrix data with row & column labels
 Unlabelled data
 Any other form of observational or statistical data sets
To use the pandas library, you need to first import it. Just type
this in your python console:
Presentation on data preparation with pandas
CORE COMPONENTS OF PANDAS
The primary two components of Pandas are:-
Dataframe
 Series
A Series is essentially column and a Dataframe is a
multidimensional Table made up of a collection of Series.
PANDAS OPERATIONS
Using Python pandas, you can perform a lot of operations with series, data frames, missing data,
group by etc. Some of the common operations for data manipulation are listed below:
TYPICAL PIPELINE FOR DATA
PREPARATION
• The first step of a data preparation pipeline is to gather data from various
sources and locations
• Before any processing is done, we wish to discover what the data is about.
At this stage, we understand the data within the context of business goals
and Visualization of the data is also helpful here
• The next stage is to cleanse the data of missing values and invalid values.
We also reformat data to standard forms
• Next we transform the data for a specific outcome or audience
• We can enrich data by merging different datasets to enable richer insights
• Finally, we store the data or directly send it out for analytics
COMMON TASKS INVOLVED IN DATA
PREPARATION
Tasks involved in
Data Preparation
Aggregation
Augmentation
Decomposing
Deletion
Blending
Anonymization
Data preparation involves one or more of the following tasks:
•Aggregation: Multiple columns are reduced to fewer columns.
Records are summarized
•Anonymization: Sensitive values are removed for the sake of
privacy
•Augmentation: Expand the dataset size without collecting more
data. For example, image data is augmented via cropping or
rotating
•Blending: Combine and link related data from various sources. For
example, combine an employee's HR data with payroll data
•Decomposing: Decompose a data column that has sub-fields. For
example, "6 ounces butter" is decomposed into three columns
representing value, unit and ingredient
•Deletion: Duplicates and outliers are removed. Exploratory Data
Analysis (EDA) may be used to identify outliers
APPLICATIONS OF
PANDAS
COMPANIES USING PANDAS
SUMMARY
Raw data is usually not suitable for direct analysis.
This is because the data might come from different
sources in different formats. Moreover, real-world
data is not clean. Some data points might be
missing. Some others might be out of range.
There could be duplicates. Data preparation is
therefore an essential task that transforms or
prepares data into a form that's suitable for
analysis.
Data preparation assumes that data has already
been collected. However, others may consider
data collection and data ingestion as part of data
preparation. Within data preparation, it's common
to identify sub-stages that might include data pre-
processing, data wrangling, and data
transformation.
Presentation on data preparation with pandas
Presentation on data preparation with pandas

More Related Content

PPTX
Data Analysis with Python Pandas
Neeru Mittal
 
PDF
Introduction to Pandas and Time Series Analysis [PyCon DE]
Alexander Hendorf
 
PDF
Pandas
maikroeder
 
PPTX
Introduction to numpy Session 1
Jatin Miglani
 
PDF
pandas - Python Data Analysis
Andrew Henshaw
 
PPTX
Python Scipy Numpy
Girish Khanzode
 
PPTX
Visualization and Matplotlib using Python.pptx
SharmilaMore5
 
Data Analysis with Python Pandas
Neeru Mittal
 
Introduction to Pandas and Time Series Analysis [PyCon DE]
Alexander Hendorf
 
Pandas
maikroeder
 
Introduction to numpy Session 1
Jatin Miglani
 
pandas - Python Data Analysis
Andrew Henshaw
 
Python Scipy Numpy
Girish Khanzode
 
Visualization and Matplotlib using Python.pptx
SharmilaMore5
 

What's hot (20)

PPTX
Python Seaborn Data Visualization
Sourabh Sahu
 
PPTX
Pandas
Jyoti shukla
 
PPTX
Python pandas Library
Md. Sohag Miah
 
PPTX
Introduction to matplotlib
Piyush rai
 
PPTX
Python - Numpy/Pandas/Matplot Machine Learning Libraries
Andrew Ferlitsch
 
PPTX
MongoDB presentation
Hyphen Call
 
PDF
Python basic
Saifuddin Kaijar
 
PPT
Introduction to MongoDB
Ravi Teja
 
PPTX
Data Wrangling
Gramener
 
PPTX
Data Mining: Application and trends in data mining
DataminingTools Inc
 
PPTX
SQL Basics
Hammad Rasheed
 
PDF
Data Analytics with Pandas and Numpy - Python
Chetan Khatri
 
PDF
pandas: Powerful data analysis tools for Python
Wes McKinney
 
PPT
Data preprocessing
Jason Rodrigues
 
PPTX
Data mining primitives
lavanya marichamy
 
PDF
1. python for data science
Dr Nisha Arora
 
PDF
What is Python JSON | Edureka
Edureka!
 
PDF
Data Visualization in Python
Jagriti Goswami
 
PPT
Python Pandas
Sunil OS
 
Python Seaborn Data Visualization
Sourabh Sahu
 
Pandas
Jyoti shukla
 
Python pandas Library
Md. Sohag Miah
 
Introduction to matplotlib
Piyush rai
 
Python - Numpy/Pandas/Matplot Machine Learning Libraries
Andrew Ferlitsch
 
MongoDB presentation
Hyphen Call
 
Python basic
Saifuddin Kaijar
 
Introduction to MongoDB
Ravi Teja
 
Data Wrangling
Gramener
 
Data Mining: Application and trends in data mining
DataminingTools Inc
 
SQL Basics
Hammad Rasheed
 
Data Analytics with Pandas and Numpy - Python
Chetan Khatri
 
pandas: Powerful data analysis tools for Python
Wes McKinney
 
Data preprocessing
Jason Rodrigues
 
Data mining primitives
lavanya marichamy
 
1. python for data science
Dr Nisha Arora
 
What is Python JSON | Edureka
Edureka!
 
Data Visualization in Python
Jagriti Goswami
 
Python Pandas
Sunil OS
 
Ad

Similar to Presentation on data preparation with pandas (20)

PPTX
python-pandas-For-Data-Analysis-Manipulate.pptx
PLOKESH8
 
PPTX
Pandaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas.pptx
imaieabhinaw
 
PPTX
Complete Introduction To Pandas Python.pptx
ARUN R S
 
PPTX
Pandas in Programming (python) presentation
AhmadAbdullah244742
 
PPTX
Pandas in Programming (Python) Presentation
AhmadAbdullah244742
 
PPT
Pandas-and-NumPy-Powerful-Tools-for-Data-Analysis (1).ppt
sagarrathore52204
 
PPTX
Pandas Data Cleaning and Preprocessing PPT.pptx
bajajrishabh96tech
 
DOCX
Detailed Report on Basics Of Pandas of Python
anushaashraf20
 
PPTX
Working with Graphs _python.pptx
MrPrathapG
 
PPTX
Group B - Pandas Pandas is a powerful Python library that provides high-perfo...
HarshitChauhan88
 
PPTX
Lecture 1 Pandas Basics.pptx machine learning
my6305874
 
PPTX
Unit 4_Working with Graphs _python (2).pptx
prakashvs7
 
PDF
Data Wrangling and Visualization Using Python
MOHITKUMAR1379
 
PDF
Panda data structures and its importance in Python.pdf
sumitt6_25730773
 
PPTX
Detailed explanation about python pandas library
snehajain3062023
 
PPTX
2. Data Preprocessing with Numpy and Pandas.pptx
PeangSereysothirich
 
PDF
Python pandas I .pdf gugugigg88iggigigih
rajveerpersonal21
 
PDF
Python for Data Analysis Data Wrangling with Pandas NumPy and IPython Wes Mck...
arianmutchpp
 
PPTX
To understand the importance of Python libraries in data analysis.
GurpinderSingh98
 
PPTX
Meetup Junio Data Analysis with python 2018
DataLab Community
 
python-pandas-For-Data-Analysis-Manipulate.pptx
PLOKESH8
 
Pandaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas.pptx
imaieabhinaw
 
Complete Introduction To Pandas Python.pptx
ARUN R S
 
Pandas in Programming (python) presentation
AhmadAbdullah244742
 
Pandas in Programming (Python) Presentation
AhmadAbdullah244742
 
Pandas-and-NumPy-Powerful-Tools-for-Data-Analysis (1).ppt
sagarrathore52204
 
Pandas Data Cleaning and Preprocessing PPT.pptx
bajajrishabh96tech
 
Detailed Report on Basics Of Pandas of Python
anushaashraf20
 
Working with Graphs _python.pptx
MrPrathapG
 
Group B - Pandas Pandas is a powerful Python library that provides high-perfo...
HarshitChauhan88
 
Lecture 1 Pandas Basics.pptx machine learning
my6305874
 
Unit 4_Working with Graphs _python (2).pptx
prakashvs7
 
Data Wrangling and Visualization Using Python
MOHITKUMAR1379
 
Panda data structures and its importance in Python.pdf
sumitt6_25730773
 
Detailed explanation about python pandas library
snehajain3062023
 
2. Data Preprocessing with Numpy and Pandas.pptx
PeangSereysothirich
 
Python pandas I .pdf gugugigg88iggigigih
rajveerpersonal21
 
Python for Data Analysis Data Wrangling with Pandas NumPy and IPython Wes Mck...
arianmutchpp
 
To understand the importance of Python libraries in data analysis.
GurpinderSingh98
 
Meetup Junio Data Analysis with python 2018
DataLab Community
 
Ad

Recently uploaded (20)

PDF
Company Profile 2023 PT. ZEKON INDONESIA.pdf
hendranofriadi26
 
PDF
AI Lect 2 Identifying AI systems, branches of AI, etc.pdf
mswindow00
 
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
JanakiRaman206018
 
PPTX
CL11_CH20_-LOCOMOTION-AND-MOVEMENT-Autosaved.pptx
GOTOO80
 
PDF
Digital Infrastructure – Powering the Connected Age
Heera Yadav
 
PPTX
Extract Transformation Load (3) (1).pptx
revathi148366
 
PPTX
Trading Procedures (1).pptxcffcdddxxddsss
garv794
 
PPTX
Data Security Breach: Immediate Action Plan
varmabhuvan266
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PPTX
Data-Driven-Credit-Card-Launch-A-Wells-Fargo-Case-Study.pptx
sumitmundhe77
 
PDF
Taxes Foundatisdcsdcsdon Certificate.pdf
PratyushPrem2
 
PDF
Chad Readey - An Independent Thinker
Chad Readey
 
PDF
A Systems Thinking Approach to Algorithmic Fairness.pdf
Epistamai
 
PDF
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
PDF
Data Analyst Certificate Programs for Beginners | IABAC
Seenivasan
 
PPTX
Data-Driven Machine Learning for Rail Infrastructure Health Monitoring
Sione Palu
 
PDF
Master Databricks SQL with AccentFuture – The Future of Data Warehousing
Accentfuture
 
PPTX
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
dushyantsharma1221
 
PPTX
batch data Retailer Data management Project.pptx
sumitmundhe77
 
Company Profile 2023 PT. ZEKON INDONESIA.pdf
hendranofriadi26
 
AI Lect 2 Identifying AI systems, branches of AI, etc.pdf
mswindow00
 
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
JanakiRaman206018
 
CL11_CH20_-LOCOMOTION-AND-MOVEMENT-Autosaved.pptx
GOTOO80
 
Digital Infrastructure – Powering the Connected Age
Heera Yadav
 
Extract Transformation Load (3) (1).pptx
revathi148366
 
Trading Procedures (1).pptxcffcdddxxddsss
garv794
 
Data Security Breach: Immediate Action Plan
varmabhuvan266
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
Data-Driven-Credit-Card-Launch-A-Wells-Fargo-Case-Study.pptx
sumitmundhe77
 
Taxes Foundatisdcsdcsdon Certificate.pdf
PratyushPrem2
 
Chad Readey - An Independent Thinker
Chad Readey
 
A Systems Thinking Approach to Algorithmic Fairness.pdf
Epistamai
 
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
Data Analyst Certificate Programs for Beginners | IABAC
Seenivasan
 
Data-Driven Machine Learning for Rail Infrastructure Health Monitoring
Sione Palu
 
Master Databricks SQL with AccentFuture – The Future of Data Warehousing
Accentfuture
 
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
Major-Components-ofNKJNNKNKNKNKronment.pptx
dushyantsharma1221
 
batch data Retailer Data management Project.pptx
sumitmundhe77
 

Presentation on data preparation with pandas

  • 1. MODY UNIVERSITY OF SCIENCE ANDTECHNOLOGY Colloquium Presentation CS 14.371 Submitted to- Dr. Pervesh Kumar Bishnoi Ms. Sonal Shukla Submitted by- Akshita Kanther B.Tech. IIIrd yr C2 Er.No.-180161
  • 3. CONTENTS Introduction Why Should We Prepare Our Data Python Python Libraries Pandas Features of Pandas Core Components Of Pandas Pandas Operations Typical Pipeline For Data Preparation Common Tasks Involved In Data Preparation Applications Of Pandas Companies using Pandas Summary
  • 4. INTRODUCTION Data preparation is the first step after you get your hands on any kind of dataset. This is the step when you pre-process raw data into a form that can be easily and accurately analyzed. Proper data preparation allows for efficient analysis - it can eliminate errors and inaccuracies that could have occurred during the data gathering process and can thus help in removing some bias resulting from poor data quality. Therefore a lot of an analyst's time is spent on this vital step.
  • 6. Garbage in, garbage out Reduce errors Remove duplicate records Fix missing values Correct range values Fix formatting (i.e. date, text, number)
  • 7. PYTHON  Object-oriented, high-level programming language  Used as a scripting language to connect existing components together  Simple, easy to learn syntax emphasizes readability  Supports modules and packages
  • 8. PYTHON LIBRARIES Many popular Python toolboxes/libraries:- • NumPy • SciPy • Pandas • SciKit-Learn Visualization libraries:- • matplotlib • Seaborn
  • 10. PANDAS • Pandas is a software library written for Python • Pandas has so many uses that it might make sense to list the things it can't do instead of what it can do • This tool is essentially your data’s home. Through pandas, you get acquainted with your data by cleaning, transforming, and analyzing it • Pandas is well suited for different kinds of data, such as:  Tabular data with heterogeneously-typed columns  Ordered and unordered time series data  Arbitrary matrix data with row & column labels  Unlabelled data  Any other form of observational or statistical data sets To use the pandas library, you need to first import it. Just type this in your python console:
  • 12. CORE COMPONENTS OF PANDAS The primary two components of Pandas are:- Dataframe  Series A Series is essentially column and a Dataframe is a multidimensional Table made up of a collection of Series.
  • 13. PANDAS OPERATIONS Using Python pandas, you can perform a lot of operations with series, data frames, missing data, group by etc. Some of the common operations for data manipulation are listed below:
  • 14. TYPICAL PIPELINE FOR DATA PREPARATION
  • 15. • The first step of a data preparation pipeline is to gather data from various sources and locations • Before any processing is done, we wish to discover what the data is about. At this stage, we understand the data within the context of business goals and Visualization of the data is also helpful here • The next stage is to cleanse the data of missing values and invalid values. We also reformat data to standard forms • Next we transform the data for a specific outcome or audience • We can enrich data by merging different datasets to enable richer insights • Finally, we store the data or directly send it out for analytics
  • 16. COMMON TASKS INVOLVED IN DATA PREPARATION Tasks involved in Data Preparation Aggregation Augmentation Decomposing Deletion Blending Anonymization Data preparation involves one or more of the following tasks: •Aggregation: Multiple columns are reduced to fewer columns. Records are summarized •Anonymization: Sensitive values are removed for the sake of privacy •Augmentation: Expand the dataset size without collecting more data. For example, image data is augmented via cropping or rotating •Blending: Combine and link related data from various sources. For example, combine an employee's HR data with payroll data •Decomposing: Decompose a data column that has sub-fields. For example, "6 ounces butter" is decomposed into three columns representing value, unit and ingredient •Deletion: Duplicates and outliers are removed. Exploratory Data Analysis (EDA) may be used to identify outliers
  • 19. SUMMARY Raw data is usually not suitable for direct analysis. This is because the data might come from different sources in different formats. Moreover, real-world data is not clean. Some data points might be missing. Some others might be out of range. There could be duplicates. Data preparation is therefore an essential task that transforms or prepares data into a form that's suitable for analysis. Data preparation assumes that data has already been collected. However, others may consider data collection and data ingestion as part of data preparation. Within data preparation, it's common to identify sub-stages that might include data pre- processing, data wrangling, and data transformation.