SlideShare uma empresa Scribd logo
1 de 26
Baixar para ler offline
Help me understand your requirement
✓ Your Background
✓ Objective
✓ Expectation from the course
✓ Anything Else?
PYTHON FOR
DATA SCIENCE
- Dr Nisha Arora
Dr. Nisha Arora is a proficient educator, passionate
trainer, You Tuber, occasional writer, and a learner
forever.
✓ PhD in Mathematics.
✓ Works in the area of Data Science, Statistical
Research, Data Visualization & Storytelling
✓ Creator of various courses
✓ Contributor to various research communities and
Q/A forums
✓ Mentor for women in Tech Global
4
About Me
An educator by heart & a
trainer by profession.
✓ In-depth Technical Answers
✓ Coding Queries
✓ Layman’s Term Explanation
✓ Research Queries
✓ Blog Posts
✓ Slide Decks
✓ Publications
✓ Tutorials /My Talks
✓ Mentoring
✓ Articles & Much More
My Contribution to the Community
Data Science Job Roles
✓ Product Owner
✓ Data Engineer
✓ Data Analysts
✓ Data Scientist/ ML Engineer
✓ Visualization Expert/ Storyteller
✓ Software Engineer
✓ Domain Expert
✓ Operations Team
Required Technical Skills
Data Analysts Data Scientists Data Engineer
Excel
Statistical Analysis Python/ R
Databases Data Viz & Storytelling
SQL/ Databases
R/Python/SAS EDA/Data Wrangling/Data Prep Data Warehousing/Data Architecture
Tableau/PowerBI Machine Learning/Deep Learning
Distributed Computing (Hadoop/Map
Reduce)
Statistical Analysis SQL Data Management & Data Security
Data Viz & Storytelling R, Python, SAS (sometimes)
Docker, Kubernaties, Kafka, Spark, Git
GitHub
EDA/Data Wrangling/Data Prep Tensorflow, Keras Cloud Tech (AWS/Azure/GCP)
Dashboards & Reporting Git/ GitHub Big Data Services
11
Soft Skills
Domain Knowledge
Top companies using Python
DR NISHA ARORA
Python is used for
DR NISHA ARORA
❑ Web development
❑ Desktop Application
❑ IOT Programming
❑ Data Science & Analytics
❑ Game development
Popularity of Python
DR NISHA ARORA
https://insights.stackoverflow.com/trends?tags=python
Python for Data Science
15
Coding Best
Practices
Tips & Tricks
✓ Programming Basics
✓ Data Science/ML Concepts
✓ Libraries for Data Science/ML
✓ Projects
Agenda
1. Getting started with Google Colab for
Python
2. Python Basics
3. Data Structure in Python
4. Numpy, Pandas, Matplotlib, Seaborn, Scikit-
learn
5. Data Analysis & Processing in Pandas
6. Data Visualization & Storytelling with Python
Bonus for Python Beginners
1. Downloading & Installing Python
2. Selecting the IDE
3. Python files (.py files) Vs ipython
notebooks (.ipynb files)
4. Getting started with Jupyter &
Jupyter Labs
5. Setting-up start-up folder in Jupyter
6. Getting started with Spyder
DR NISHA ARORA
What will you get?
DR NISHA ARORA
✓ Presentations
✓ Quick Summary of each lesson
✓ Code Files
✓ Data Files
✓ Use-cases
✓ Web-resources
✓ Recommended Readings
✓ Tips & Tricks
✓ Bonus Videos
Data Types in Python
Numbers – int, float, complex
Strings
Boolean
Object
DR NISHA ARORA
Data Types in Python
DR NISHA ARORA
Operators in Python
DR NISHA ARORA
Mathematical Operators
DR NISHA ARORA
Comparison Operators
DR NISHA ARORA
Boolean/Logical Operators
DR NISHA ARORA
Strings in Python
DR NISHA ARORA
Strings
Strings in Python are immutable, iterable and ordered.
which means
- we can not updates or delete values from a string
- we can iterate over elements of a string
- we can perform indexing & slicing over a string
DR NISHA ARORA
Escape Sequence
Escape character ``
Escaping allows the normal interpretation of the character to be suspended and that string to be
defined as normal.
DR NISHA ARORA
String Methods
Check with dir(str)
DR NISHA ARORA
String Slicing
1. Indexing/counting starts with 0. First character gets counted as zero
2. `[a:b]` means starting at ath position and extracting until (b-1)th position
3. `[a:]` means starting at ath position till end
4. `[:a]` means starting at the beginning until (a-1)th position
DR NISHA ARORA
String Slicing
5. negative sign with indices mean counting from right instead of natural left.
6. `[:-a]` means starting at the beginning and going up til ath position from end. Counting from end also starts
with 0.
7. `[-a:]` means starting at (a+1)th character from the end and going up till last character.
8. `[a:-b]` means starting at ath character at the beginning and going till bth position from end
9. `[-a:-b]` means starting at (a+1)th character from the end and going up till bth position from end
DR NISHA ARORA
String Slicing _ stride
The optional, third number in a slice specifies the stride.
If omitted, the default is 1: return every character in the requested range
To return every kth letter, set the stride to k.
Negative values of k reverse the string.
DR NISHA ARORA

Mais conteúdo relacionado

Mais procurados

Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 

Mais procurados (20)

IP address
IP addressIP address
IP address
 
Python ppt
Python pptPython ppt
Python ppt
 
Beginning Python Programming
Beginning Python ProgrammingBeginning Python Programming
Beginning Python Programming
 
Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)Python 101: Python for Absolute Beginners (PyTexas 2014)
Python 101: Python for Absolute Beginners (PyTexas 2014)
 
Data Analysis in Python
Data Analysis in PythonData Analysis in Python
Data Analysis in Python
 
Computer software
Computer softwareComputer software
Computer software
 
OSI model (7 layer )
OSI model (7 layer ) OSI model (7 layer )
OSI model (7 layer )
 
durga python full.pdf
durga python full.pdfdurga python full.pdf
durga python full.pdf
 
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhman
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhmanConfiguration of mesh topology in cisco packet tracer by Tanjilur RAhman
Configuration of mesh topology in cisco packet tracer by Tanjilur RAhman
 
Python - An Introduction
Python - An IntroductionPython - An Introduction
Python - An Introduction
 
Cisco packet tracer router
Cisco packet tracer  routerCisco packet tracer  router
Cisco packet tracer router
 
Python: Modules and Packages
Python: Modules and PackagesPython: Modules and Packages
Python: Modules and Packages
 
Ip address
Ip addressIp address
Ip address
 
Python Exception Handling
Python Exception HandlingPython Exception Handling
Python Exception Handling
 
Python Presentation
Python PresentationPython Presentation
Python Presentation
 
stack & queue
stack & queuestack & queue
stack & queue
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
NUMPY
NUMPY NUMPY
NUMPY
 
Type casting
Type castingType casting
Type casting
 
Algorithms and Flowcharts
Algorithms and FlowchartsAlgorithms and Flowcharts
Algorithms and Flowcharts
 

Semelhante a 1. python for data science

TeelTech - Advancing Mobile Device Forensics (online version)
TeelTech - Advancing Mobile Device Forensics (online version)TeelTech - Advancing Mobile Device Forensics (online version)
TeelTech - Advancing Mobile Device Forensics (online version)
Mike Felch
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
kalai75
 

Semelhante a 1. python for data science (20)

Black Belt Tips for JIRA Software
Black Belt Tips for JIRA SoftwareBlack Belt Tips for JIRA Software
Black Belt Tips for JIRA Software
 
Basic Introduction to Python Programming
Basic Introduction to Python ProgrammingBasic Introduction to Python Programming
Basic Introduction to Python Programming
 
TeelTech - Advancing Mobile Device Forensics (online version)
TeelTech - Advancing Mobile Device Forensics (online version)TeelTech - Advancing Mobile Device Forensics (online version)
TeelTech - Advancing Mobile Device Forensics (online version)
 
Pandas, Data Wrangling & Data Science
Pandas, Data Wrangling & Data SciencePandas, Data Wrangling & Data Science
Pandas, Data Wrangling & Data Science
 
Discovering Emerging Tech through Graph Analysis - Henry Hwangbo @ GraphConne...
Discovering Emerging Tech through Graph Analysis - Henry Hwangbo @ GraphConne...Discovering Emerging Tech through Graph Analysis - Henry Hwangbo @ GraphConne...
Discovering Emerging Tech through Graph Analysis - Henry Hwangbo @ GraphConne...
 
Introduction to Analytics with Azure Notebooks and Python
Introduction to Analytics with Azure Notebooks and PythonIntroduction to Analytics with Azure Notebooks and Python
Introduction to Analytics with Azure Notebooks and Python
 
DATA MINING USING R (1).pptx
DATA MINING USING R (1).pptxDATA MINING USING R (1).pptx
DATA MINING USING R (1).pptx
 
Data Science & AI Syllabus - DS & AI.pdf
Data Science & AI Syllabus - DS & AI.pdfData Science & AI Syllabus - DS & AI.pdf
Data Science & AI Syllabus - DS & AI.pdf
 
Python & machine learning Syllabus - DS & AI.pdf
Python & machine learning Syllabus - DS & AI.pdfPython & machine learning Syllabus - DS & AI.pdf
Python & machine learning Syllabus - DS & AI.pdf
 
Data Science & Artificial intelligence Syllabus - DS & AI.pdf
Data Science & Artificial intelligence Syllabus - DS & AI.pdfData Science & Artificial intelligence Syllabus - DS & AI.pdf
Data Science & Artificial intelligence Syllabus - DS & AI.pdf
 
PyCon Ireland 2022 - PyArrow full stack.pdf
PyCon Ireland 2022 - PyArrow full stack.pdfPyCon Ireland 2022 - PyArrow full stack.pdf
PyCon Ireland 2022 - PyArrow full stack.pdf
 
CPP18 - String Parsing
CPP18 - String ParsingCPP18 - String Parsing
CPP18 - String Parsing
 
State of Play. Data Science on Hadoop in 2015 by SEAN OWEN at Big Data Spain ...
State of Play. Data Science on Hadoop in 2015 by SEAN OWEN at Big Data Spain ...State of Play. Data Science on Hadoop in 2015 by SEAN OWEN at Big Data Spain ...
State of Play. Data Science on Hadoop in 2015 by SEAN OWEN at Big Data Spain ...
 
data science
data sciencedata science
data science
 
Developing in R - the contextual Multi-Armed Bandit edition
Developing in R - the contextual Multi-Armed Bandit editionDeveloping in R - the contextual Multi-Armed Bandit edition
Developing in R - the contextual Multi-Armed Bandit edition
 
Introduction to R for Learning Analytics Researchers
Introduction to R for Learning Analytics ResearchersIntroduction to R for Learning Analytics Researchers
Introduction to R for Learning Analytics Researchers
 
Data Science
Data Science Data Science
Data Science
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 
Data science programming .ppt
Data science programming .pptData science programming .ppt
Data science programming .ppt
 
Lec1cgu13updated.ppt
Lec1cgu13updated.pptLec1cgu13updated.ppt
Lec1cgu13updated.ppt
 

Mais de Dr Nisha Arora

Mais de Dr Nisha Arora (15)

What do corporates look for in a data science candidate?
What do corporates look for in a data science candidate?What do corporates look for in a data science candidate?
What do corporates look for in a data science candidate?
 
Statistical Inference /Hypothesis Testing
Statistical Inference /Hypothesis Testing Statistical Inference /Hypothesis Testing
Statistical Inference /Hypothesis Testing
 
4 Descriptive Statistics with R
4 Descriptive Statistics with R4 Descriptive Statistics with R
4 Descriptive Statistics with R
 
3 Data Structure in R
3 Data Structure in R3 Data Structure in R
3 Data Structure in R
 
2 data types and operators in r
2 data types and operators in r2 data types and operators in r
2 data types and operators in r
 
My talk_ Using data to get business insights
My talk_ Using data to get business insightsMy talk_ Using data to get business insights
My talk_ Using data to get business insights
 
Discriminant analysis using spss
Discriminant analysis using spssDiscriminant analysis using spss
Discriminant analysis using spss
 
7. logistics regression using spss
7. logistics regression using spss7. logistics regression using spss
7. logistics regression using spss
 
Unsupervised learning clustering
Unsupervised learning clusteringUnsupervised learning clustering
Unsupervised learning clustering
 
Cluster analysis using spss
Cluster analysis using spssCluster analysis using spss
Cluster analysis using spss
 
5 mistakes you might be making as a teacher
5 mistakes you might be making as a teacher5 mistakes you might be making as a teacher
5 mistakes you might be making as a teacher
 
Data visualization & Story Telling with Data
Data visualization & Story Telling with DataData visualization & Story Telling with Data
Data visualization & Story Telling with Data
 
1 machine learning demystified
1 machine learning demystified1 machine learning demystified
1 machine learning demystified
 
1 introduction to data science
1 introduction to data science1 introduction to data science
1 introduction to data science
 
1 installing & Getting Started with R
1 installing & Getting Started with R1 installing & Getting Started with R
1 installing & Getting Started with R
 

Último

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 

Último (20)

Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 

1. python for data science

  • 1. Help me understand your requirement ✓ Your Background ✓ Objective ✓ Expectation from the course ✓ Anything Else?
  • 2. PYTHON FOR DATA SCIENCE - Dr Nisha Arora
  • 3. Dr. Nisha Arora is a proficient educator, passionate trainer, You Tuber, occasional writer, and a learner forever. ✓ PhD in Mathematics. ✓ Works in the area of Data Science, Statistical Research, Data Visualization & Storytelling ✓ Creator of various courses ✓ Contributor to various research communities and Q/A forums ✓ Mentor for women in Tech Global 4 About Me An educator by heart & a trainer by profession.
  • 4. ✓ In-depth Technical Answers ✓ Coding Queries ✓ Layman’s Term Explanation ✓ Research Queries ✓ Blog Posts ✓ Slide Decks ✓ Publications ✓ Tutorials /My Talks ✓ Mentoring ✓ Articles & Much More My Contribution to the Community
  • 5. Data Science Job Roles ✓ Product Owner ✓ Data Engineer ✓ Data Analysts ✓ Data Scientist/ ML Engineer ✓ Visualization Expert/ Storyteller ✓ Software Engineer ✓ Domain Expert ✓ Operations Team
  • 6. Required Technical Skills Data Analysts Data Scientists Data Engineer Excel Statistical Analysis Python/ R Databases Data Viz & Storytelling SQL/ Databases R/Python/SAS EDA/Data Wrangling/Data Prep Data Warehousing/Data Architecture Tableau/PowerBI Machine Learning/Deep Learning Distributed Computing (Hadoop/Map Reduce) Statistical Analysis SQL Data Management & Data Security Data Viz & Storytelling R, Python, SAS (sometimes) Docker, Kubernaties, Kafka, Spark, Git GitHub EDA/Data Wrangling/Data Prep Tensorflow, Keras Cloud Tech (AWS/Azure/GCP) Dashboards & Reporting Git/ GitHub Big Data Services 11 Soft Skills Domain Knowledge
  • 7. Top companies using Python DR NISHA ARORA
  • 8. Python is used for DR NISHA ARORA ❑ Web development ❑ Desktop Application ❑ IOT Programming ❑ Data Science & Analytics ❑ Game development
  • 9. Popularity of Python DR NISHA ARORA https://insights.stackoverflow.com/trends?tags=python
  • 10. Python for Data Science 15 Coding Best Practices Tips & Tricks ✓ Programming Basics ✓ Data Science/ML Concepts ✓ Libraries for Data Science/ML ✓ Projects
  • 11. Agenda 1. Getting started with Google Colab for Python 2. Python Basics 3. Data Structure in Python 4. Numpy, Pandas, Matplotlib, Seaborn, Scikit- learn 5. Data Analysis & Processing in Pandas 6. Data Visualization & Storytelling with Python Bonus for Python Beginners 1. Downloading & Installing Python 2. Selecting the IDE 3. Python files (.py files) Vs ipython notebooks (.ipynb files) 4. Getting started with Jupyter & Jupyter Labs 5. Setting-up start-up folder in Jupyter 6. Getting started with Spyder DR NISHA ARORA
  • 12. What will you get? DR NISHA ARORA ✓ Presentations ✓ Quick Summary of each lesson ✓ Code Files ✓ Data Files ✓ Use-cases ✓ Web-resources ✓ Recommended Readings ✓ Tips & Tricks ✓ Bonus Videos
  • 13.
  • 14. Data Types in Python Numbers – int, float, complex Strings Boolean Object DR NISHA ARORA
  • 15. Data Types in Python DR NISHA ARORA
  • 16. Operators in Python DR NISHA ARORA
  • 20. Strings in Python DR NISHA ARORA
  • 21. Strings Strings in Python are immutable, iterable and ordered. which means - we can not updates or delete values from a string - we can iterate over elements of a string - we can perform indexing & slicing over a string DR NISHA ARORA
  • 22. Escape Sequence Escape character `` Escaping allows the normal interpretation of the character to be suspended and that string to be defined as normal. DR NISHA ARORA
  • 23. String Methods Check with dir(str) DR NISHA ARORA
  • 24. String Slicing 1. Indexing/counting starts with 0. First character gets counted as zero 2. `[a:b]` means starting at ath position and extracting until (b-1)th position 3. `[a:]` means starting at ath position till end 4. `[:a]` means starting at the beginning until (a-1)th position DR NISHA ARORA
  • 25. String Slicing 5. negative sign with indices mean counting from right instead of natural left. 6. `[:-a]` means starting at the beginning and going up til ath position from end. Counting from end also starts with 0. 7. `[-a:]` means starting at (a+1)th character from the end and going up till last character. 8. `[a:-b]` means starting at ath character at the beginning and going till bth position from end 9. `[-a:-b]` means starting at (a+1)th character from the end and going up till bth position from end DR NISHA ARORA
  • 26. String Slicing _ stride The optional, third number in a slice specifies the stride. If omitted, the default is 1: return every character in the requested range To return every kth letter, set the stride to k. Negative values of k reverse the string. DR NISHA ARORA