SlideShare a Scribd company logo
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.
Ad

Recommended

R vs python
R vs python
Bhaskara Reddy Sannapureddy
 
R vs python. Which one is best for data science
R vs python. Which one is best for data science
Stat Analytica
 
A Data Science Tutorial in Python
A Data Science Tutorial in Python
Ajay Ohri
 
Python and r in data science
Python and r in data science
Ravi Ranjan Prasad Karn
 
Introduction to r
Introduction to r
gslicraf
 
Introduction To R
Introduction To R
Spotle.ai
 
Overview of Data Science
Overview of Data Science
Kwan-yuet Ho
 
Webinar : Introduction to R Programming and Machine Learning
Webinar : Introduction to R Programming and Machine Learning
Edureka!
 
Reason To learn & use r
Reason To learn & use r
Septian Pratama Rusmana
 
Why Python is better for Data Science
Why Python is better for Data Science
Ícaro Medeiros
 
Python for Big Data Analytics
Python for Big Data Analytics
Edureka!
 
Introduction to R ajay Ohri
Introduction to R ajay Ohri
Ajay Ohri
 
R programming
R programming
Pooja Sharma
 
R Programming Overview
R Programming Overview
dlamb3244
 
How to get started with R programming
How to get started with R programming
Ramon Salazar
 
R for data analytics
R for data analytics
VijayMohan Vasu
 
2 it unit-1 start learning r
2 it unit-1 start learning r
Netaji Gandi
 
Introduction to statistical software R
Introduction to statistical software R
Paola Pozzolo - La tua statistica
 
Python vs. r for data science
Python vs. r for data science
Hugo Shi
 
Introduction to R
Introduction to R
Kazuki Yoshida
 
R programming
R programming
Shantanu Patil
 
Introducing The R Software
Introducing The R Software
Kamarul Imran
 
Class ppt intro to r
Class ppt intro to r
JigsawAcademy2014
 
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
Numenta
 
R programming
R programming
Nandhini G
 
How to use R easily as GIS tools!
How to use R easily as GIS tools!
Omar F. Althuwaynee
 
Introduction to R programming
Introduction to R programming
Victor Ordu
 
Python utilities for data presentation
Python utilities for data presentation
Command Prompt., Inc
 
R Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data Scientists
abhishekdf3
 
All you need to know about Python | BJIT
All you need to know about Python | BJIT
BJIT Ltd
 

More Related Content

What's hot (20)

Reason To learn & use r
Reason To learn & use r
Septian Pratama Rusmana
 
Why Python is better for Data Science
Why Python is better for Data Science
Ícaro Medeiros
 
Python for Big Data Analytics
Python for Big Data Analytics
Edureka!
 
Introduction to R ajay Ohri
Introduction to R ajay Ohri
Ajay Ohri
 
R programming
R programming
Pooja Sharma
 
R Programming Overview
R Programming Overview
dlamb3244
 
How to get started with R programming
How to get started with R programming
Ramon Salazar
 
R for data analytics
R for data analytics
VijayMohan Vasu
 
2 it unit-1 start learning r
2 it unit-1 start learning r
Netaji Gandi
 
Introduction to statistical software R
Introduction to statistical software R
Paola Pozzolo - La tua statistica
 
Python vs. r for data science
Python vs. r for data science
Hugo Shi
 
Introduction to R
Introduction to R
Kazuki Yoshida
 
R programming
R programming
Shantanu Patil
 
Introducing The R Software
Introducing The R Software
Kamarul Imran
 
Class ppt intro to r
Class ppt intro to r
JigsawAcademy2014
 
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
Numenta
 
R programming
R programming
Nandhini G
 
How to use R easily as GIS tools!
How to use R easily as GIS tools!
Omar F. Althuwaynee
 
Introduction to R programming
Introduction to R programming
Victor Ordu
 
Python utilities for data presentation
Python utilities for data presentation
Command Prompt., Inc
 
Why Python is better for Data Science
Why Python is better for Data Science
Ícaro Medeiros
 
Python for Big Data Analytics
Python for Big Data Analytics
Edureka!
 
Introduction to R ajay Ohri
Introduction to R ajay Ohri
Ajay Ohri
 
R Programming Overview
R Programming Overview
dlamb3244
 
How to get started with R programming
How to get started with R programming
Ramon Salazar
 
2 it unit-1 start learning r
2 it unit-1 start learning r
Netaji Gandi
 
Python vs. r for data science
Python vs. r for data science
Hugo Shi
 
Introducing The R Software
Introducing The R Software
Kamarul Imran
 
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
OpenAI’s GPT 3 Language Model - guest Steve Omohundro
Numenta
 
How to use R easily as GIS tools!
How to use R easily as GIS tools!
Omar F. Althuwaynee
 
Introduction to R programming
Introduction to R programming
Victor Ordu
 
Python utilities for data presentation
Python utilities for data presentation
Command Prompt., Inc
 

Similar to Which programming language to learn R or Python - MeasureCamp XII (20)

R Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data Scientists
abhishekdf3
 
All you need to know about Python | BJIT
All you need to know about Python | BJIT
BJIT Ltd
 
Is r or python better for data journalism projects hari sandeep reddy
Is r or python better for data journalism projects hari sandeep reddy
confidential
 
Python for MATLAB Programmers
Python for MATLAB Programmers
Michael Patterson
 
What is the best way to learn Python.pptx
What is the best way to learn Python.pptx
saanvikapoor1608
 
The Great Debate.pdf
The Great Debate.pdf
SudhanshiBakre1
 
Introduction To Python
Introduction To Python
Biswajeet Dasmajumdar
 
Python programming for beginners
Python programming for beginners
Benishchoco
 
overview of python programming language.pptx
overview of python programming language.pptx
dmsidharth
 
Python a Versatile Programming Language - Introduction
Python a Versatile Programming Language - Introduction
Jainul Musani
 
Learning R via Python…or the other way around
Learning R via Python…or the other way around
Sid Xing
 
introduction to Python (for beginners)
introduction to Python (for beginners)
guobichrng
 
Python for Matlab Programmers
Python for Matlab Programmers
Michael Patterson
 
python programming unit 1 wala ppt .pptx
python programming unit 1 wala ppt .pptx
AnaIyer1
 
Python: The Versatile Programming Language - Introduction
Python: The Versatile Programming Language - Introduction
Jainul Musani
 
Python Programming-1.pptx of python by computer
Python Programming-1.pptx of python by computer
sharanyarashmir5
 
Python Online From EasyLearning Guru
Python Online From EasyLearning Guru
KCC Software Ltd. & Easylearning.guru
 
summer t.pdf
summer t.pdf
RITVIKKAPOOR10
 
Python Class 1
Python Class 1
arijit banerjee
 
summer training report on python
summer training report on python
Shubham Yadav
 
R Vs Python – The most trending debate of aspiring Data Scientists
R Vs Python – The most trending debate of aspiring Data Scientists
abhishekdf3
 
All you need to know about Python | BJIT
All you need to know about Python | BJIT
BJIT Ltd
 
Is r or python better for data journalism projects hari sandeep reddy
Is r or python better for data journalism projects hari sandeep reddy
confidential
 
Python for MATLAB Programmers
Python for MATLAB Programmers
Michael Patterson
 
What is the best way to learn Python.pptx
What is the best way to learn Python.pptx
saanvikapoor1608
 
Python programming for beginners
Python programming for beginners
Benishchoco
 
overview of python programming language.pptx
overview of python programming language.pptx
dmsidharth
 
Python a Versatile Programming Language - Introduction
Python a Versatile Programming Language - Introduction
Jainul Musani
 
Learning R via Python…or the other way around
Learning R via Python…or the other way around
Sid Xing
 
introduction to Python (for beginners)
introduction to Python (for beginners)
guobichrng
 
Python for Matlab Programmers
Python for Matlab Programmers
Michael Patterson
 
python programming unit 1 wala ppt .pptx
python programming unit 1 wala ppt .pptx
AnaIyer1
 
Python: The Versatile Programming Language - Introduction
Python: The Versatile Programming Language - Introduction
Jainul Musani
 
Python Programming-1.pptx of python by computer
Python Programming-1.pptx of python by computer
sharanyarashmir5
 
summer training report on python
summer training report on python
Shubham Yadav
 
Ad

Recently uploaded (20)

2025 June Year 9 Presentation: Subject selection.pptx
2025 June Year 9 Presentation: Subject selection.pptx
mansk2
 
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
jutaydeonne
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 6-14-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
Filipino 9 Maikling Kwento Ang Ama Panitikang Asiyano
Filipino 9 Maikling Kwento Ang Ama Panitikang Asiyano
sumadsadjelly121997
 
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
Kweku Zurek
 
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
SHERAZ AHMAD LONE
 
Photo chemistry Power Point Presentation
Photo chemistry Power Point Presentation
mprpgcwa2024
 
This is why students from these 44 institutions have not received National Se...
This is why students from these 44 institutions have not received National Se...
Kweku Zurek
 
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
trjnesjnqg7801
 
How to Manage Different Customer Addresses in Odoo 18 Accounting
How to Manage Different Customer Addresses in Odoo 18 Accounting
Celine George
 
Birnagar High School Platinum Jubilee Quiz.pptx
Birnagar High School Platinum Jubilee Quiz.pptx
Sourav Kr Podder
 
How payment terms are configured in Odoo 18
How payment terms are configured in Odoo 18
Celine George
 
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
Tanja Vujicic - PISA for Schools contact Info
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
VCE Literature Section A Exam Response Guide
VCE Literature Section A Exam Response Guide
jpinnuck
 
How to use search fetch method in Odoo 18
How to use search fetch method in Odoo 18
Celine George
 
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
jutaydeonne
 
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
Mayvel Nadal
 
GREAT QUIZ EXCHANGE 2025 - GENERAL QUIZ.pptx
GREAT QUIZ EXCHANGE 2025 - GENERAL QUIZ.pptx
Ronisha Das
 
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
 
2025 June Year 9 Presentation: Subject selection.pptx
2025 June Year 9 Presentation: Subject selection.pptx
mansk2
 
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
Q1_ENGLISH_PPT_WEEK 1 power point grade 3 Quarter 1 week 1
jutaydeonne
 
Filipino 9 Maikling Kwento Ang Ama Panitikang Asiyano
Filipino 9 Maikling Kwento Ang Ama Panitikang Asiyano
sumadsadjelly121997
 
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
University of Ghana Cracks Down on Misconduct: Over 100 Students Sanctioned
Kweku Zurek
 
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
ECONOMICS, DISASTER MANAGEMENT, ROAD SAFETY - STUDY MATERIAL [10TH]
SHERAZ AHMAD LONE
 
Photo chemistry Power Point Presentation
Photo chemistry Power Point Presentation
mprpgcwa2024
 
This is why students from these 44 institutions have not received National Se...
This is why students from these 44 institutions have not received National Se...
Kweku Zurek
 
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
Public Health For The 21st Century 1st Edition Judy Orme Jane Powell
trjnesjnqg7801
 
How to Manage Different Customer Addresses in Odoo 18 Accounting
How to Manage Different Customer Addresses in Odoo 18 Accounting
Celine George
 
Birnagar High School Platinum Jubilee Quiz.pptx
Birnagar High School Platinum Jubilee Quiz.pptx
Sourav Kr Podder
 
How payment terms are configured in Odoo 18
How payment terms are configured in Odoo 18
Celine George
 
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
Romanticism in Love and Sacrifice An Analysis of Oscar Wilde’s The Nightingal...
KaryanaTantri21
 
Tanja Vujicic - PISA for Schools contact Info
Tanja Vujicic - PISA for Schools contact Info
EduSkills OECD
 
VCE Literature Section A Exam Response Guide
VCE Literature Section A Exam Response Guide
jpinnuck
 
How to use search fetch method in Odoo 18
How to use search fetch method in Odoo 18
Celine George
 
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
ENGLISH_Q1_W1 PowerPoint grade 3 quarter 1 week 1
jutaydeonne
 
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
ENGLISH-5 Q1 Lesson 1.pptx - Story Elements
Mayvel Nadal
 
GREAT QUIZ EXCHANGE 2025 - GENERAL QUIZ.pptx
GREAT QUIZ EXCHANGE 2025 - GENERAL QUIZ.pptx
Ronisha Das
 
How to Customize Quotation Layouts in Odoo 18
How to Customize Quotation Layouts in Odoo 18
Celine George
 
Ad

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.

Editor's Notes

  • #4: Both languages are used for data science, ML and AI to produce insights, predictions and actions – but still – which one is better ?
  • #6: Stack Overflow is the largest, most trusted online community for developers to learn, share​ ​their programming ​knowledge, and build their careers
  • #12: 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] 
  • #14: IDE - integrated development environment