SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Which programming language
to learn - R or Python?
Maggie Petrova
Data Scientist @ObjectiveIT
Mar-2018
Outline
•What are the R and Python programming languages used for?
•Which programming language is more popular?
•Pros of R and Python
•And the winner is
•Learning curve of the language
•Where do you start
•My top 3 tips
What are the R and Python programming languages used
for?
Artificial intelligence
(produces actions)
Machine learning
(produces predictions)
Data science
(produces insights)
R
Python
IEEE (Institute of Electrical and Electronics Engineers)
Top Programming Languages
Source: https://spectrum.ieee.org/static/interactive-the-top-programming-languages-2017
Popularity on
Stack Overflow
Source: https://stackoverflow.com/tags, as of 15/03/2018
See also: https://insights.stackoverflow.com/survey/2018#most-loved-dreaded-and-wanted
https://madnight.github.io/githut/#/pull_requests/2017/4
Who is using Python and/or R
Python R
Pros of R and Python
What is R good at?
R is a free, open-source programming language and software environment for
statistical computing, visualisation and general computing.
R is mainly used when the data analysis task requires standalone computing or
analysis on individual servers. It’s great for exploratory work, and it's handy for
almost any type of data analysis because of the huge number of packages.
What is Python good at?
Python is a dynamic and strongly typed programming language that is used for a
wide range of applications. Python is used from testing microchips at Intel, to
powering Instagram, to building video games with the PyGame library. It is a
general-purpose, high-level programming language that is designed to emphasize
usability.
Python allows programmers to express concepts in fewer lines of clear code.
You can use Python when your data analysis tasks need to be integrated with web
apps or if statistics code needs to be incorporated into a production database. Being
a fully fledged programming language, it’s a great tool to implement algorithms for
production use.
And the winner is?
?
Transition to R or Python
(setting the right expectations)
Your background R Python
Statistician
Developer
Non-statistician
Analyst (I love Excel)
R learning curve
Python difficulty
Malbolge is a programming language named after the eighth circle
of hell in Dante's Inferno. It was specifically designed to be almost
impossible to use, via a counter-intuitive 'crazy operation', and self-
altering code.
Where do you start?
Jupyter notebook
Pythonpackages
ggplot2
R
libraryzoo
stringr
data.table
dplyr
RStudio
Spyder
IDE
scikit-learn
matplotlib
pandas
NumPy
caret
Where do you start?
Key libraries R Python
Integrated development environment
IDE RStudio Jupyter Notebook,
Spyder, PyCharm, etc.
Popular packages /libraries
Data manipulation &
computing
dplyr, plyr, data.table Pandas, NumPy, SciPy
Text mining stringr string
Time series zoo, xts Prophet
Visualisation and
reporting results
ggvis, lattice, ggplot2,
shiny, RMarkdown
Matplotlib, Seaborn,
Plotly
Machine learning caret, randomForest,
nnet
scikit-learn, Keras,
TensorFlow, NLTK
Data scraping rvest Scrapy
Where to learn
Google’s Machine Learning Crash Course
My top 3 tips
1. Forget about Excel.
2. Learn by doing. Break down your task into
small chunks and try to solve them one by
one.
3. Use the community knowledge.

Weitere ähnliche Inhalte

Was ist angesagt?

2 it unit-1 start learning r
2 it   unit-1 start learning r2 it   unit-1 start learning r
2 it unit-1 start learning r
Netaji Gandi
 

Was ist angesagt? (20)

Reason To learn & use r
Reason To learn & use rReason To learn & use r
Reason To learn & use r
 
Why Python is better for Data Science
Why Python is better for Data ScienceWhy Python is better for Data Science
Why Python is better for Data Science
 
Python for Big Data Analytics
Python for Big Data AnalyticsPython for Big Data Analytics
Python for Big Data Analytics
 
Introduction to R ajay Ohri
Introduction to R ajay OhriIntroduction to R ajay Ohri
Introduction to R ajay Ohri
 
R programming
R programmingR programming
R programming
 
R Programming Overview
R Programming Overview R Programming Overview
R Programming Overview
 
How to get started with R programming
How to get started with R programmingHow to get started with R programming
How to get started with R programming
 
R for data analytics
R for data analyticsR for data analytics
R for data analytics
 
2 it unit-1 start learning r
2 it   unit-1 start learning r2 it   unit-1 start learning r
2 it unit-1 start learning r
 
Introduction to statistical software R
Introduction to statistical software RIntroduction to statistical software R
Introduction to statistical software R
 
Python vs. r for data science
Python vs. r for data sciencePython vs. r for data science
Python vs. r for data science
 
Introduction to R
Introduction to RIntroduction to R
Introduction to R
 
R programming
R programmingR programming
R programming
 
Introducing The R Software
Introducing The R Software  Introducing The R Software
Introducing The R Software
 
Class ppt intro to r
Class ppt intro to rClass ppt intro to r
Class ppt intro to r
 
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve OmohundroOpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
 
R programming
R programmingR programming
R programming
 
How to use R easily as GIS tools!
How to use R easily as GIS tools!How to use R easily as GIS tools!
How to use R easily as GIS tools!
 
Introduction to R programming
Introduction to R programmingIntroduction to R programming
Introduction to R programming
 
Python utilities for data presentation
Python utilities for data presentationPython utilities for data presentation
Python utilities for data presentation
 

Ähnlich wie Which programming language to learn R or Python - MeasureCamp XII

Ähnlich wie Which programming language to learn R or Python - MeasureCamp XII (20)

The Great Debate.pdf
The Great Debate.pdfThe Great Debate.pdf
The Great Debate.pdf
 
Python – The Fastest Growing Programming Language
Python – The Fastest Growing Programming LanguagePython – The Fastest Growing Programming Language
Python – The Fastest Growing Programming Language
 
R Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data ScientistsR Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data Scientists
 
What Is The Future of Data Science With Python?
What Is The Future of Data Science With Python?What Is The Future of Data Science With Python?
What Is The Future of Data Science With Python?
 
Chapter I.pptx
Chapter I.pptxChapter I.pptx
Chapter I.pptx
 
Download Python for R Users pdf for free
Download Python for R Users pdf for freeDownload Python for R Users pdf for free
Download Python for R Users pdf for free
 
🌟Is Learning Python Your Career Game-Changer? 🚀🐍
🌟Is Learning Python Your  Career Game-Changer? 🚀🐍🌟Is Learning Python Your  Career Game-Changer? 🚀🐍
🌟Is Learning Python Your Career Game-Changer? 🚀🐍
 
UNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdfUNIT-1 Start Learning R.pdf
UNIT-1 Start Learning R.pdf
 
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
 
Python Mastery Made Easy.pdf
Python Mastery Made Easy.pdfPython Mastery Made Easy.pdf
Python Mastery Made Easy.pdf
 
Top Reasons to Choose Python for Your Next Web Development Project
Top Reasons to Choose Python for Your Next Web Development ProjectTop Reasons to Choose Python for Your Next Web Development Project
Top Reasons to Choose Python for Your Next Web Development Project
 
Mastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions DemystifiedMastering the Interview: 50 Common Interview Questions Demystified
Mastering the Interview: 50 Common Interview Questions Demystified
 
Python Development.pptx
Python Development.pptxPython Development.pptx
Python Development.pptx
 
Guide to Learn Python Programming.pdf
Guide to Learn Python Programming.pdfGuide to Learn Python Programming.pdf
Guide to Learn Python Programming.pdf
 
Python
PythonPython
Python
 
_python Raunak.pptx
_python Raunak.pptx_python Raunak.pptx
_python Raunak.pptx
 
About Python Programming Language | Benefit of Python
About Python Programming Language | Benefit of PythonAbout Python Programming Language | Benefit of Python
About Python Programming Language | Benefit of Python
 
POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE POWER OF PYTHON PROGRAMMING LANGUAGE
POWER OF PYTHON PROGRAMMING LANGUAGE
 
Python Course In Ahmedabad
Python Course In AhmedabadPython Course In Ahmedabad
Python Course In Ahmedabad
 
Python Course In Mumbai
Python Course In MumbaiPython Course In Mumbai
Python Course In Mumbai
 

Kürzlich hochgeladen

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Kürzlich hochgeladen (20)

Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
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
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
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
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.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
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Which programming language to learn R or Python - MeasureCamp XII

  • 1. Which programming language to learn - R or Python? Maggie Petrova Data Scientist @ObjectiveIT Mar-2018
  • 2. Outline •What are the R and Python programming languages used for? •Which programming language is more popular? •Pros of R and Python •And the winner is •Learning curve of the language •Where do you start •My top 3 tips
  • 3. What are the R and Python programming languages used for? Artificial intelligence (produces actions) Machine learning (produces predictions) Data science (produces insights) R Python
  • 4. IEEE (Institute of Electrical and Electronics Engineers) Top Programming Languages Source: https://spectrum.ieee.org/static/interactive-the-top-programming-languages-2017
  • 5. Popularity on Stack Overflow Source: https://stackoverflow.com/tags, as of 15/03/2018 See also: https://insights.stackoverflow.com/survey/2018#most-loved-dreaded-and-wanted https://madnight.github.io/githut/#/pull_requests/2017/4
  • 6. Who is using Python and/or R Python R
  • 7. Pros of R and Python What is R good at? R is a free, open-source programming language and software environment for statistical computing, visualisation and general computing. R is mainly used when the data analysis task requires standalone computing or analysis on individual servers. It’s great for exploratory work, and it's handy for almost any type of data analysis because of the huge number of packages. What is Python good at? Python is a dynamic and strongly typed programming language that is used for a wide range of applications. Python is used from testing microchips at Intel, to powering Instagram, to building video games with the PyGame library. It is a general-purpose, high-level programming language that is designed to emphasize usability. Python allows programmers to express concepts in fewer lines of clear code. You can use Python when your data analysis tasks need to be integrated with web apps or if statistics code needs to be incorporated into a production database. Being a fully fledged programming language, it’s a great tool to implement algorithms for production use.
  • 9. Transition to R or Python (setting the right expectations) Your background R Python Statistician Developer Non-statistician Analyst (I love Excel)
  • 11. Python difficulty Malbolge is a programming language named after the eighth circle of hell in Dante's Inferno. It was specifically designed to be almost impossible to use, via a counter-intuitive 'crazy operation', and self- altering code.
  • 12. Where do you start? Jupyter notebook Pythonpackages ggplot2 R libraryzoo stringr data.table dplyr RStudio Spyder IDE scikit-learn matplotlib pandas NumPy caret
  • 13. Where do you start? Key libraries R Python Integrated development environment IDE RStudio Jupyter Notebook, Spyder, PyCharm, etc. Popular packages /libraries Data manipulation & computing dplyr, plyr, data.table Pandas, NumPy, SciPy Text mining stringr string Time series zoo, xts Prophet Visualisation and reporting results ggvis, lattice, ggplot2, shiny, RMarkdown Matplotlib, Seaborn, Plotly Machine learning caret, randomForest, nnet scikit-learn, Keras, TensorFlow, NLTK Data scraping rvest Scrapy
  • 14. Where to learn Google’s Machine Learning Crash Course
  • 15. My top 3 tips 1. Forget about Excel. 2. Learn by doing. Break down your task into small chunks and try to solve them one by one. 3. Use the community knowledge.

Hinweis der Redaktion

  1. Both languages are used for data science, ML and AI to produce insights, predictions and actions – but still – which one is better ?
  2. Stack Overflow is the largest, most trusted online community for developers to learn, share​ ​their programming ​knowledge, and build their careers
  3. Malbolge is a public domain esoteric programming language invented by Ben Olmstead in 1998, named after the eighth circle of hell in Dante's Inferno, the Malebolge. Malbolge was specifically designed to be almost impossible to use, via a counter-intuitive 'crazy operation', base-three arithmetic, and self-altering code.[1] 
  4. IDE - integrated development environment