SlideShare a Scribd company logo
Programming for Data
Science in Python
Dr. Ummesalma M
Assistant Professor
CHRIST (Deemed to be University)
Bengaluru-29
PYTHON ?
Perception Matters
2
Timeline of Programming Languages
3
What’sWorth to be known about Python?
1991
4
1994
2000 2008
What Can Python Do?
5
Wait! I can do all these things using
other programming languages too! Then
why Python?
Python can be used for
Salient Features of Python
Even though there are many
languages Salient features of Python
make it different from others
• Interpreted, very-high-level
programming language.
• Supports a multitude of
programming paradigms.
• OOP, functional, procedural, logic,
etc.
• General purpose.
• Very comprehensive standard
library includes numeric modules,
crypto services, OS interfaces,
networking modules, GUI support,
development tools, etc.
6
7
Features of Python cont. (simplicity)
// HelloWorld Program inC
#include <stdio.h>
Void main()
{
printf(“HelloWorld! n”);
}
// HelloWorld Program inC++
#include <iostream.h>
int main() {
cout << "Hello World!“<<endl;
return 0;
}
8
Features of Python cont. (simplicity)
// Hello World Program in Java
class HelloWorld
{
public static void main(String args[])
{
System. out. println(" Hello World!");
}
}
# sample code in Python
print(“Hello World”)
9
VidTime Java vs Python
10
Java vs Python
11
Java vs Python
12
Python 2x vs Python 3x
▪ F1: Division operator Eg. -7 / 5
▪ F2:I/O functions
▪ F3: str type
▪ F4: xrange() saves memory but doesn’t
support slicing
▪ F5: Error Handling
try:
trying_to_check_error
except NameError, err:
print err, 'Error Caused' # Would not
work in Python 3.x
▪ F6: modules
Feature (Python2x) (Python3x)
F1 Results in -2 Results in -1.4
F2
raw_input()
print “Hello
World”
input()
print (“Hello
World”)
F3 ASCII UNICODE
F4
xrange()
available
xrange()
UNavailable
F5 as not required
Comma
replacedby as
F6
Less
modules
More modules
13
3 Ways of Running a Python Program
▪ Python Shell: An interactive
interpreter. It is pre available in
Linux and Mac OS X
▪ Script mode on cmd
▪ IDE:Atom, IDLE , Jupyter,
Spyder, etc.
.py
Python
Shell
IDE
Script
mode
14
How Famous is Python?WatchThis 
15
How Python is relevant to data science?
What type of data Python supports for data science?
Whom to follow?
Which tools/sites to refer?
Data Science & Python
16
Python & Data ScienceApplications
All
360
17
Python Packages Useful for Data Science
18
Who is in favor of Python?
19
20
Whom to Follow?
Wes McKinney. Creator of pandas, the most widely-used
Python library for data analysis. Author of Python for Data
Analysis. Senior Vice President and Software Architect
at Two Sigma.
Hilary Mason. Founder of Fast Forward Labs. Data
Scientist in Residence at Accel. Founder of HackNY and
co-host of DataGotham
Jake VanderPlas. Author of Python Data Science
Handbook. Senior Data Science Fellow and Director of
Research at the University of Washington's eScience
institute.
https://mode.com/blog/python-influencers/
21
Python:When to Use & when Not?
PROS
CONS
Development requirement
Scope
22
PROS of Python
More Pros thanCons
23
CONS of Python
• Python is interpreted,so
it's much slower than its
counterparts.
• Weak in mobile
computing, hence not
used much in app
development
• Since Python is dynamic,
more errors show up at
run-time
• Absence of commercial
support
24
Programmers Description Example
System Programmers
The system
programmerinstalls,
customizes, and maintains
the operatingsystem, and
also installsor upgrades
products that run on
the system.
•CAD Engineer
•System Engineers
•DevOps Developer
•Software Developer
Web Programmers
A web developer is
a programmerwho engaged
in, the development of
World
WideWeb applications,or
applicationsthat are run
over HTTP, CSS OR HTML
from a web server to
a web browser.
•Frontend Developer
•BackendDeveloper
•Full stack web developer
Types of Computer Science Programmers
25
Programmers Description Example
Game Programmers
A game programmer is a
programmerwho develops
codebasesfor
video games or related
software, such
as game development
tools.Game
programminghasmany
specializeddisciplines,allof
which fallunder the “game
programmer”.
•Game Designer
•Audio Engineer
•Lead-Programmer(Games)
•Animators(Games)
ApplicationProgrammers
The application
programmeris a
programmerwho is
responsiblefordesigning
and testing program logic,
codingprograms,program
documentationand
preparationof programs for
computer operations.
•SDE1
•SDE2
•Software Engineer
All Rounder Capable of doingall tasks
•Nerds
•Scientists 26
JobOpportunities worldwide after learning Python
27
Scope of Python in India and worldwide?
ImageCourtesy: www.quora.com
https://www.3ritechnologies.com/py
thon-developer-salary-in-india/
28
Poem on Python
Poem byTim
Peters
29
30

More Related Content

DOCX
Self Study Business Approach to DS_01022022.docx
Shanmugasundaram M
 
PDF
GTU GeekDay Data Science and Applications
Kürşat İNCE
 
PPTX
Adding Open Data Value to 'Closed Data' Problems
Simon Price
 
PDF
Data Science in Action
Jordan Open Source Association
 
PDF
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...
Ilkay Altintas, Ph.D.
 
PPTX
Data Science applications in business
Vladyslav Yakovenko
 
PDF
Introduction to Data Science - Week 4 - Tools and Technologies in Data Science
Ferdin Joe John Joseph PhD
 
PDF
Data Science
Prithwis Mukerjee
 
Self Study Business Approach to DS_01022022.docx
Shanmugasundaram M
 
GTU GeekDay Data Science and Applications
Kürşat İNCE
 
Adding Open Data Value to 'Closed Data' Problems
Simon Price
 
Data Science in Action
Jordan Open Source Association
 
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...
Ilkay Altintas, Ph.D.
 
Data Science applications in business
Vladyslav Yakovenko
 
Introduction to Data Science - Week 4 - Tools and Technologies in Data Science
Ferdin Joe John Joseph PhD
 
Data Science
Prithwis Mukerjee
 

What's hot (20)

PDF
Introduction to Data Science
ANOOP V S
 
PPTX
Data science | What is Data science
ShilpaKrishna6
 
PPTX
Introduction to data science
Sampath Kumar
 
PPTX
Introduction to Big Data/Machine Learning
Lars Marius Garshol
 
PDF
Introduction To Data Science
Spotle.ai
 
PDF
Unit 3 part 2
MohammadAsharAshraf
 
PDF
Best Python Libraries For Data Science & Machine Learning | Edureka
Edureka!
 
PDF
Data science presentation
MSDEVMTL
 
PDF
Introduction To Data Science With Python
Spotle.ai
 
PDF
Data science
Mohamed Loey
 
PPTX
Big data and data science overview
Colleen Farrelly
 
PPTX
Data Science using Python
ShapeMySkills Pvt Ltd
 
PDF
Introduction to Data Science
Gabriel Moreira
 
PDF
Introduction to data science intro,ch(1,2,3)
heba_ahmad
 
PDF
Python for Data Science | Python Data Science Tutorial | Data Science Certifi...
Edureka!
 
PPTX
data science
skhraletta
 
PPTX
Machine Learning using Big data
Vaibhav Kurkute
 
PDF
Machine learning in action at Pipedrive
André Karpištšenko
 
DOC
2005)
butest
 
PDF
Open Data, Big Data and Machine Learning
Steven Van Vaerenbergh
 
Introduction to Data Science
ANOOP V S
 
Data science | What is Data science
ShilpaKrishna6
 
Introduction to data science
Sampath Kumar
 
Introduction to Big Data/Machine Learning
Lars Marius Garshol
 
Introduction To Data Science
Spotle.ai
 
Unit 3 part 2
MohammadAsharAshraf
 
Best Python Libraries For Data Science & Machine Learning | Edureka
Edureka!
 
Data science presentation
MSDEVMTL
 
Introduction To Data Science With Python
Spotle.ai
 
Data science
Mohamed Loey
 
Big data and data science overview
Colleen Farrelly
 
Data Science using Python
ShapeMySkills Pvt Ltd
 
Introduction to Data Science
Gabriel Moreira
 
Introduction to data science intro,ch(1,2,3)
heba_ahmad
 
Python for Data Science | Python Data Science Tutorial | Data Science Certifi...
Edureka!
 
data science
skhraletta
 
Machine Learning using Big data
Vaibhav Kurkute
 
Machine learning in action at Pipedrive
André Karpištšenko
 
2005)
butest
 
Open Data, Big Data and Machine Learning
Steven Van Vaerenbergh
 
Ad

Similar to Programming for data science in python (20)

PPTX
Basic Python Introduction Lecture 1.pptx
Aditya Patel
 
PPTX
Lecture 1.pptx
hemantmohite6
 
PPTX
What is python
faizrashid1995
 
PPTX
Python Class 1
arijit banerjee
 
PPTX
Python Basics for python understanding.pptx
ShubhamNain11
 
PDF
Lec-1-Introduction to Python.pdf gla University
backupkrish30
 
PPT
Python_basics_tuples_sets_lists_control_loops.ppt
VGaneshKarthikeyan
 
PPTX
Chapter - 1.pptx
MikialeTesfamariam
 
PPT
Python Programming Unit1_Aditya College of Engg & Tech
Ramanamurthy Banda
 
PPTX
Python Online From EasyLearning Guru
KCC Software Ltd. & Easylearning.guru
 
PPTX
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
PDF
Ways To Become A Good Python Developer
CodeMonk
 
PPTX
Python programming
Megha V
 
PPTX
Introduction to python
Nikhil Kapoor
 
PDF
Introduction to python
Mohammed Rafi
 
PDF
Datascience and python
UmmeSalmaM1
 
PPTX
python programming unit 1 wala ppt .pptx
AnaIyer1
 
PPTX
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
PPTX
A Brief Introduction to Python - English
Devashish Negi
 
PDF
IRJET- Why Python Rocks for Research....???
IRJET Journal
 
Basic Python Introduction Lecture 1.pptx
Aditya Patel
 
Lecture 1.pptx
hemantmohite6
 
What is python
faizrashid1995
 
Python Class 1
arijit banerjee
 
Python Basics for python understanding.pptx
ShubhamNain11
 
Lec-1-Introduction to Python.pdf gla University
backupkrish30
 
Python_basics_tuples_sets_lists_control_loops.ppt
VGaneshKarthikeyan
 
Chapter - 1.pptx
MikialeTesfamariam
 
Python Programming Unit1_Aditya College of Engg & Tech
Ramanamurthy Banda
 
Python Online From EasyLearning Guru
KCC Software Ltd. & Easylearning.guru
 
An Introduction To Python - Python, Print()
Blue Elephant Consulting
 
Ways To Become A Good Python Developer
CodeMonk
 
Python programming
Megha V
 
Introduction to python
Nikhil Kapoor
 
Introduction to python
Mohammed Rafi
 
Datascience and python
UmmeSalmaM1
 
python programming unit 1 wala ppt .pptx
AnaIyer1
 
Python | What is Python | History of Python | Python Tutorial
QA TrainingHub
 
A Brief Introduction to Python - English
Devashish Negi
 
IRJET- Why Python Rocks for Research....???
IRJET Journal
 
Ad

More from UmmeSalmaM1 (9)

PPTX
Guidelines for Effective Data Visualization
UmmeSalmaM1
 
PDF
Introduction to Data Science
UmmeSalmaM1
 
PPTX
Welcome to Python Programming.pptx
UmmeSalmaM1
 
PDF
Role of digital technology in autism a case study
UmmeSalmaM1
 
PDF
Demography basedhybridrecommendersystemformovierecommendation
UmmeSalmaM1
 
PDF
Machine learning visual_quiz
UmmeSalmaM1
 
PDF
Lecture1 introduction to machine learning
UmmeSalmaM1
 
PDF
The Art of Entrepreneurship
UmmeSalmaM1
 
PPTX
Impact of Learning Functions on Prediction of Stock Data
UmmeSalmaM1
 
Guidelines for Effective Data Visualization
UmmeSalmaM1
 
Introduction to Data Science
UmmeSalmaM1
 
Welcome to Python Programming.pptx
UmmeSalmaM1
 
Role of digital technology in autism a case study
UmmeSalmaM1
 
Demography basedhybridrecommendersystemformovierecommendation
UmmeSalmaM1
 
Machine learning visual_quiz
UmmeSalmaM1
 
Lecture1 introduction to machine learning
UmmeSalmaM1
 
The Art of Entrepreneurship
UmmeSalmaM1
 
Impact of Learning Functions on Prediction of Stock Data
UmmeSalmaM1
 

Recently uploaded (20)

PPTX
Fuzzy_Membership_Functions_Presentation.pptx
pythoncrazy2024
 
PDF
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
PPTX
International-health-agency and it's work.pptx
shreehareeshgs
 
PDF
CH2-MODEL-SETUP-v2017.1-JC-APR27-2017.pdf
jcc00023con
 
PPTX
short term project on AI Driven Data Analytics
JMJCollegeComputerde
 
PDF
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
PPT
Grade 5 PPT_Science_Q2_W6_Methods of reproduction.ppt
AaronBaluyut
 
PDF
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PPT
2009worlddatasheet_presentation.ppt peoole
umutunsalnsl4402
 
PPTX
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
PDF
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
PPTX
Azure Data management Engineer project.pptx
sumitmundhe77
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
PPTX
Employee Salary Presentation.l based on data science collection of data
barridevakumari2004
 
PDF
717629748-Databricks-Certified-Data-Engineer-Professional-Dumps-by-Ball-21-03...
pedelli41
 
PPTX
Complete_STATA_Introduction_Beginner.pptx
mbayekebe
 
PDF
blockchain123456789012345678901234567890
tanvikhunt1003
 
PPTX
Economic Sector Performance Recovery.pptx
yulisbaso2020
 
Fuzzy_Membership_Functions_Presentation.pptx
pythoncrazy2024
 
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
International-health-agency and it's work.pptx
shreehareeshgs
 
CH2-MODEL-SETUP-v2017.1-JC-APR27-2017.pdf
jcc00023con
 
short term project on AI Driven Data Analytics
JMJCollegeComputerde
 
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
Grade 5 PPT_Science_Q2_W6_Methods of reproduction.ppt
AaronBaluyut
 
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
2009worlddatasheet_presentation.ppt peoole
umutunsalnsl4402
 
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
Azure Data management Engineer project.pptx
sumitmundhe77
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
Employee Salary Presentation.l based on data science collection of data
barridevakumari2004
 
717629748-Databricks-Certified-Data-Engineer-Professional-Dumps-by-Ball-21-03...
pedelli41
 
Complete_STATA_Introduction_Beginner.pptx
mbayekebe
 
blockchain123456789012345678901234567890
tanvikhunt1003
 
Economic Sector Performance Recovery.pptx
yulisbaso2020
 

Programming for data science in python

  • 1. Programming for Data Science in Python Dr. Ummesalma M Assistant Professor CHRIST (Deemed to be University) Bengaluru-29
  • 4. What’sWorth to be known about Python? 1991 4 1994 2000 2008
  • 5. What Can Python Do? 5 Wait! I can do all these things using other programming languages too! Then why Python? Python can be used for
  • 6. Salient Features of Python Even though there are many languages Salient features of Python make it different from others • Interpreted, very-high-level programming language. • Supports a multitude of programming paradigms. • OOP, functional, procedural, logic, etc. • General purpose. • Very comprehensive standard library includes numeric modules, crypto services, OS interfaces, networking modules, GUI support, development tools, etc. 6
  • 7. 7
  • 8. Features of Python cont. (simplicity) // HelloWorld Program inC #include <stdio.h> Void main() { printf(“HelloWorld! n”); } // HelloWorld Program inC++ #include <iostream.h> int main() { cout << "Hello World!“<<endl; return 0; } 8
  • 9. Features of Python cont. (simplicity) // Hello World Program in Java class HelloWorld { public static void main(String args[]) { System. out. println(" Hello World!"); } } # sample code in Python print(“Hello World”) 9
  • 10. VidTime Java vs Python 10
  • 13. Python 2x vs Python 3x ▪ F1: Division operator Eg. -7 / 5 ▪ F2:I/O functions ▪ F3: str type ▪ F4: xrange() saves memory but doesn’t support slicing ▪ F5: Error Handling try: trying_to_check_error except NameError, err: print err, 'Error Caused' # Would not work in Python 3.x ▪ F6: modules Feature (Python2x) (Python3x) F1 Results in -2 Results in -1.4 F2 raw_input() print “Hello World” input() print (“Hello World”) F3 ASCII UNICODE F4 xrange() available xrange() UNavailable F5 as not required Comma replacedby as F6 Less modules More modules 13
  • 14. 3 Ways of Running a Python Program ▪ Python Shell: An interactive interpreter. It is pre available in Linux and Mac OS X ▪ Script mode on cmd ▪ IDE:Atom, IDLE , Jupyter, Spyder, etc. .py Python Shell IDE Script mode 14
  • 15. How Famous is Python?WatchThis  15
  • 16. How Python is relevant to data science? What type of data Python supports for data science? Whom to follow? Which tools/sites to refer? Data Science & Python 16
  • 17. Python & Data ScienceApplications All 360 17
  • 18. Python Packages Useful for Data Science 18
  • 19. Who is in favor of Python? 19
  • 20. 20
  • 21. Whom to Follow? Wes McKinney. Creator of pandas, the most widely-used Python library for data analysis. Author of Python for Data Analysis. Senior Vice President and Software Architect at Two Sigma. Hilary Mason. Founder of Fast Forward Labs. Data Scientist in Residence at Accel. Founder of HackNY and co-host of DataGotham Jake VanderPlas. Author of Python Data Science Handbook. Senior Data Science Fellow and Director of Research at the University of Washington's eScience institute. https://mode.com/blog/python-influencers/ 21
  • 22. Python:When to Use & when Not? PROS CONS Development requirement Scope 22
  • 23. PROS of Python More Pros thanCons 23
  • 24. CONS of Python • Python is interpreted,so it's much slower than its counterparts. • Weak in mobile computing, hence not used much in app development • Since Python is dynamic, more errors show up at run-time • Absence of commercial support 24
  • 25. Programmers Description Example System Programmers The system programmerinstalls, customizes, and maintains the operatingsystem, and also installsor upgrades products that run on the system. •CAD Engineer •System Engineers •DevOps Developer •Software Developer Web Programmers A web developer is a programmerwho engaged in, the development of World WideWeb applications,or applicationsthat are run over HTTP, CSS OR HTML from a web server to a web browser. •Frontend Developer •BackendDeveloper •Full stack web developer Types of Computer Science Programmers 25
  • 26. Programmers Description Example Game Programmers A game programmer is a programmerwho develops codebasesfor video games or related software, such as game development tools.Game programminghasmany specializeddisciplines,allof which fallunder the “game programmer”. •Game Designer •Audio Engineer •Lead-Programmer(Games) •Animators(Games) ApplicationProgrammers The application programmeris a programmerwho is responsiblefordesigning and testing program logic, codingprograms,program documentationand preparationof programs for computer operations. •SDE1 •SDE2 •Software Engineer All Rounder Capable of doingall tasks •Nerds •Scientists 26
  • 27. JobOpportunities worldwide after learning Python 27
  • 28. Scope of Python in India and worldwide? ImageCourtesy: www.quora.com https://www.3ritechnologies.com/py thon-developer-salary-in-india/ 28
  • 29. Poem on Python Poem byTim Peters 29
  • 30. 30