SlideShare a Scribd company logo
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
1. python for data science
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

More Related Content

PDF
Data Science Training | Data Science Tutorial for Beginners | Data Science wi...
PDF
تنقيب البيانات
PPTX
Data Science Interview Questions | Data Science Interview Questions And Answe...
PDF
Data Science Full Course | Edureka
PDF
Introduction To Data Science
PDF
Data Analyst vs Data Engineer vs Data Scientist | Data Analytics Masters Prog...
PPTX
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...
PPTX
Data mining tools overall
Data Science Training | Data Science Tutorial for Beginners | Data Science wi...
تنقيب البيانات
Data Science Interview Questions | Data Science Interview Questions And Answe...
Data Science Full Course | Edureka
Introduction To Data Science
Data Analyst vs Data Engineer vs Data Scientist | Data Analytics Masters Prog...
Random Forest Algorithm - Random Forest Explained | Random Forest In Machine ...
Data mining tools overall

What's hot (20)

PPTX
data mining.pptx
PPTX
Data Visualization - A Brief Overview
PPTX
Introduction to power BI
PDF
What is Machine Learning | Introduction to Machine Learning | Machine Learnin...
DOCX
Ab initio is one of the popular etl tools that is in the market
PDF
Machine Learning Course | Edureka
PPTX
Tableau Visual analytics complete deck 2
PDF
Object Oriented Programming
PPTX
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
PDF
Data Science For Beginners | Who Is A Data Scientist? | Data Science Tutorial...
PPTX
Introduction to Data Science.pptx
PPTX
Machine Learning Using Python
PPTX
How to become Data Analyst?
PDF
Data Science With Python
PDF
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
PPTX
Introduction to Power BI to make smart decisions
PPTX
Real time analytics
PPTX
Power BI Online Training hyderabad | Power BI online Course
PPT
Business Intelligence - Intro
PDF
Introduction to Power BI
data mining.pptx
Data Visualization - A Brief Overview
Introduction to power BI
What is Machine Learning | Introduction to Machine Learning | Machine Learnin...
Ab initio is one of the popular etl tools that is in the market
Machine Learning Course | Edureka
Tableau Visual analytics complete deck 2
Object Oriented Programming
Supervised and Unsupervised Learning In Machine Learning | Machine Learning T...
Data Science For Beginners | Who Is A Data Scientist? | Data Science Tutorial...
Introduction to Data Science.pptx
Machine Learning Using Python
How to become Data Analyst?
Data Science With Python
Learn Python Programming | Python Programming - Step by Step | Python for Beg...
Introduction to Power BI to make smart decisions
Real time analytics
Power BI Online Training hyderabad | Power BI online Course
Business Intelligence - Intro
Introduction to Power BI
Ad

Similar to 1. python for data science (20)

PPT
ComandosDePython_ComponentesBasicosImpl.ppt
PDF
1_1_python-course-notes-sections-1-7.pdf
PPTX
Python Demo.pptx
PPTX
Python Demo.pptx
PPTX
Programming Basics.pptx
PDF
Python for Scientific Computing
PPTX
Introduction to data science
PDF
Course notes on Astronomical data analysis by python pdf
PPTX
1664611760basics-of-python-for begainer1 (3).pptx
PPTX
Python For Data Science.pptx
PPTX
P2 2017 python_strings
PPTX
2015 bioinformatics python_strings_wim_vancriekinge
PPTX
Python PPT.pptx
PPT
From Operators to Arrays – Power Up Your Python Skills for Real-World Coding!
PPT
Python basics to advanced in on ppt is available
PPTX
funadamentals of python programming language (right from scratch)
PPTX
Python chapter 2
PPTX
python chapter 1
PPTX
Python Workshop
ComandosDePython_ComponentesBasicosImpl.ppt
1_1_python-course-notes-sections-1-7.pdf
Python Demo.pptx
Python Demo.pptx
Programming Basics.pptx
Python for Scientific Computing
Introduction to data science
Course notes on Astronomical data analysis by python pdf
1664611760basics-of-python-for begainer1 (3).pptx
Python For Data Science.pptx
P2 2017 python_strings
2015 bioinformatics python_strings_wim_vancriekinge
Python PPT.pptx
From Operators to Arrays – Power Up Your Python Skills for Real-World Coding!
Python basics to advanced in on ppt is available
funadamentals of python programming language (right from scratch)
Python chapter 2
python chapter 1
Python Workshop
Ad

More from Dr Nisha Arora (15)

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

Recently uploaded (20)

PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
Trump Administration's workforce development strategy
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Lesson notes of climatology university.
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Indian roads congress 037 - 2012 Flexible pavement
History, Philosophy and sociology of education (1).pptx
Complications of Minimal Access Surgery at WLH
Chinmaya Tiranga quiz Grand Finale.pdf
LDMMIA Reiki Yoga Finals Review Spring Summer
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Final Presentation General Medicine 03-08-2024.pptx
Unit 4 Skeletal System.ppt.pptxopresentatiom
Trump Administration's workforce development strategy
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Lesson notes of climatology university.
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
What if we spent less time fighting change, and more time building what’s rig...
Weekly quiz Compilation Jan -July 25.pdf
Cell Types and Its function , kingdom of life
Indian roads congress 037 - 2012 Flexible pavement

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
  • 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