Skip to main content
HomePython

Course

Python for R Users

IntermediateSkill Level
4.7+
72 reviews
Updated 03/2023
This course is for R users who want to get up to speed with Python!
Start Course for Free
PythonProgramming5 hr15 videos57 Exercises4,950 XP15,739Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Loved by learners at thousands of companies

Group

Training 2 or more people?

Try DataCamp for Business

Course Description

Python and R have seen immense growth in popularity in the "Machine Learning Age". They both are high-level languages that are easy to learn and write. The language you use will depend on your background and field of study and work. R is a language made by and for statisticians, whereas Python is a more general purpose programming language. Regardless of the background, there will be times when a particular algorithm is implemented in one language and not the other, a feature is better documented, or simply, the tutorial you found online uses Python instead of R.In either case, this would require the R user to work in Python to get his/her work done, or try to understand how something is implemented in Python for it to be translated into R. This course helps you cross the R-Python language barrier.

Prerequisites

Introduction to Writing Functions in R
1

The Basics

Learn about some of the most important data types (integers, floats, strings, and booleans) and data structures (lists, dictionaries, numpy arrays, and pandas DataFrames) in Python and how they compare to the ones in R.
Start Chapter
2

Control flow, Loops, and Functions

3

Pandas

In this chapter you will learn more about one of the most important Python libraries, Pandas. In addition to DataFrames, pandas provides several data manipulation functions and methods.
Start Chapter
4

Plotting

5

Capstone

Python for R Users
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
Enroll Now

Don’t just take our word for it

*4.7
from 72 reviews
75%
22%
3%
0%
0%
  • Paloma
    4 weeks ago

    Excelente curso

  • Rifat
    5 weeks ago

  • Laura
    last month

  • Юлия
    2 months ago

    Thank you it's usfull, but too short

  • Javier
    2 months ago

  • Haiqin
    2 months ago

"Excelente curso"

Paloma

Laura

Javier

FAQs

Is Python for R Users suitable for someone with no R experience?

No. This course is designed for people who already know R and want to learn Python by drawing parallels. You need experience with R, the tidyverse, and writing functions in R.

What Python data structures and libraries are covered?

You will learn about lists, dictionaries, NumPy arrays, and pandas DataFrames, plus visualization with matplotlib, pandas plotting, and seaborn.

Does the course include a hands-on capstone project?

Yes. The final chapter is a capstone where you apply all your new Python skills to analyze the NYC Flights 2013 dataset.

How does the course teach Python control flow coming from an R background?

Chapter 2 covers if-else statements, for loops, and function definitions in Python, with direct comparisons to how these constructs work in R.

How long should I expect to spend on this course?

The course is 5 chapters with 57 exercises. Most learners finish in about 4 to 5 hours, making it a manageable transition from R to Python.

Join over 19 million learners and start Python for R Users today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.