SlideShare a Scribd company logo
1 of 36
Data Analysis in
Python using
Pandas
Pandas
2
o Pyton Data analysis library
o Built on top of Numpy
o Abbreviation of Panel Data System
o Used in production in many companies
T h e I d e a l t o o l f o r
d a t a S c i e n t i s t s
3
oManaging data
oCleaning data
oAnalyzing
oModeling data
oOrganizing the data in a form suitable for plotting or tabular
display
4
A d d i n g i n d e x t o t h e s e r i e s
5
E x t r a c t i n g d a t a b y
i n d e x
6
C o n v e r t P y t h o n D i c t t o
P a n d a s S e r i e s
7
C h a n g i n g S e r i e s ’
I n d e x
8
oPython DataFrame is a data structure containing and
ordered collecetions of columns.
oEach column may hold numeric, string, boolean etc.
Values
oDataFrame has both row and column index
D a t a F r a m e
9
oA pandas DataFrame can be created using various inputs
like
--Lists
--Dict
--Series
--Numpy ndarrays
--Another DataFrame
C r e a t i n g a D a t a F r a m e
10
11
12
13
Thanks!
Any questions?
14
15
16
17
18
19
20
21
22
23
24
25
P y t h o n P a n d a s
I n p u t / O u t p u t T O O L S
oThe Pandas I/O API is a set of top level reader functions accessed like
pd.read_csv() that generally return a Pandas object.
oThe two functions for reading text files are read_csv() and
read_table(). They both intelligently convert tabular data into a
DataFrame object
26
27
28
Python Pandas
29
30
31
32
33
34
35
P ython
Pandas
C o n c a t e n a t i o n
36

More Related Content

Similar to pythonpandas-181223110521-1(1).pptx

Data Science With Python | Python For Data Science | Python Data Science Cour...
Data Science With Python | Python For Data Science | Python Data Science Cour...Data Science With Python | Python For Data Science | Python Data Science Cour...
Data Science With Python | Python For Data Science | Python Data Science Cour...
Simplilearn
 
employee turnover prediction document.docx
employee turnover prediction document.docxemployee turnover prediction document.docx
employee turnover prediction document.docx
rohithprabhas1
 

Similar to pythonpandas-181223110521-1(1).pptx (20)

Introduction to python
Introduction to pythonIntroduction to python
Introduction to python
 
Saket Saurabh at AI Frontiers: Data Operations or: How I Learned to Stop Data...
Saket Saurabh at AI Frontiers: Data Operations or: How I Learned to Stop Data...Saket Saurabh at AI Frontiers: Data Operations or: How I Learned to Stop Data...
Saket Saurabh at AI Frontiers: Data Operations or: How I Learned to Stop Data...
 
Data Wrangling and Visualization Using Python
Data Wrangling and Visualization Using PythonData Wrangling and Visualization Using Python
Data Wrangling and Visualization Using Python
 
Unit 2 - Data Manipulation with R.pptx
Unit 2 - Data Manipulation with R.pptxUnit 2 - Data Manipulation with R.pptx
Unit 2 - Data Manipulation with R.pptx
 
Ml programming with python
Ml programming with pythonMl programming with python
Ml programming with python
 
2. Data Preprocessing with Numpy and Pandas.pptx
2. Data Preprocessing with Numpy and Pandas.pptx2. Data Preprocessing with Numpy and Pandas.pptx
2. Data Preprocessing with Numpy and Pandas.pptx
 
Data Science With Python | Python For Data Science | Python Data Science Cour...
Data Science With Python | Python For Data Science | Python Data Science Cour...Data Science With Python | Python For Data Science | Python Data Science Cour...
Data Science With Python | Python For Data Science | Python Data Science Cour...
 
Five python libraries should know for machine learning
Five python libraries should know for machine learningFive python libraries should know for machine learning
Five python libraries should know for machine learning
 
Dc python meetup
Dc python meetupDc python meetup
Dc python meetup
 
An introduction to R is a document useful
An introduction to R is a document usefulAn introduction to R is a document useful
An introduction to R is a document useful
 
employee turnover prediction document.docx
employee turnover prediction document.docxemployee turnover prediction document.docx
employee turnover prediction document.docx
 
A Map of the PyData Stack
A Map of the PyData StackA Map of the PyData Stack
A Map of the PyData Stack
 
Adarsh_Masekar(2GP19CS003).pptx
Adarsh_Masekar(2GP19CS003).pptxAdarsh_Masekar(2GP19CS003).pptx
Adarsh_Masekar(2GP19CS003).pptx
 
Basic of python for data analysis
Basic of python for data analysisBasic of python for data analysis
Basic of python for data analysis
 
PYTHON PANDAS.pptx
PYTHON PANDAS.pptxPYTHON PANDAS.pptx
PYTHON PANDAS.pptx
 
Unit1_Introduction to R.pdf
Unit1_Introduction to R.pdfUnit1_Introduction to R.pdf
Unit1_Introduction to R.pdf
 
Presentation on basics of python
Presentation on basics of pythonPresentation on basics of python
Presentation on basics of python
 
Data Analysis packages
Data Analysis packagesData Analysis packages
Data Analysis packages
 
Unit 3_Numpy_VP.pptx
Unit 3_Numpy_VP.pptxUnit 3_Numpy_VP.pptx
Unit 3_Numpy_VP.pptx
 
Data Management in Python
Data Management in PythonData Management in Python
Data Management in Python
 

More from Sivam Chinna (6)

Dimensionality Reduction and feature extraction.pptx
Dimensionality Reduction and feature extraction.pptxDimensionality Reduction and feature extraction.pptx
Dimensionality Reduction and feature extraction.pptx
 
14078956.ppt
14078956.ppt14078956.ppt
14078956.ppt
 
Pandas-(Ziad).pptx
Pandas-(Ziad).pptxPandas-(Ziad).pptx
Pandas-(Ziad).pptx
 
Clustering.pptx
Clustering.pptxClustering.pptx
Clustering.pptx
 
13. Anomaly.pptx
13. Anomaly.pptx13. Anomaly.pptx
13. Anomaly.pptx
 
UNIT 5-ANN.ppt
UNIT 5-ANN.pptUNIT 5-ANN.ppt
UNIT 5-ANN.ppt
 

Recently uploaded

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

pythonpandas-181223110521-1(1).pptx

  • 1. Data Analysis in Python using Pandas
  • 2. Pandas 2 o Pyton Data analysis library o Built on top of Numpy o Abbreviation of Panel Data System o Used in production in many companies
  • 3. T h e I d e a l t o o l f o r d a t a S c i e n t i s t s 3 oManaging data oCleaning data oAnalyzing oModeling data oOrganizing the data in a form suitable for plotting or tabular display
  • 4. 4
  • 5. A d d i n g i n d e x t o t h e s e r i e s 5
  • 6. E x t r a c t i n g d a t a b y i n d e x 6
  • 7. C o n v e r t P y t h o n D i c t t o P a n d a s S e r i e s 7
  • 8. C h a n g i n g S e r i e s ’ I n d e x 8
  • 9. oPython DataFrame is a data structure containing and ordered collecetions of columns. oEach column may hold numeric, string, boolean etc. Values oDataFrame has both row and column index D a t a F r a m e 9
  • 10. oA pandas DataFrame can be created using various inputs like --Lists --Dict --Series --Numpy ndarrays --Another DataFrame C r e a t i n g a D a t a F r a m e 10
  • 11. 11
  • 12. 12
  • 13. 13
  • 15. 15
  • 16. 16
  • 17. 17
  • 18. 18
  • 19. 19
  • 20. 20
  • 21. 21
  • 22. 22
  • 23. 23
  • 24. 24
  • 25. 25
  • 26. P y t h o n P a n d a s I n p u t / O u t p u t T O O L S oThe Pandas I/O API is a set of top level reader functions accessed like pd.read_csv() that generally return a Pandas object. oThe two functions for reading text files are read_csv() and read_table(). They both intelligently convert tabular data into a DataFrame object 26
  • 27. 27
  • 28. 28
  • 30. 30
  • 31. 31
  • 32. 32
  • 33. 33
  • 34. 34
  • 35. 35
  • 36. P ython Pandas C o n c a t e n a t i o n 36