Should You Learn Python Or R?

Manpreet Singh
4 min readJun 17, 2022

Hello everyone! Python and R are awesome programming languages that are perfect for data processing, but, which language should you learn for your data journey? Let’s take a look at some of the pro’s and con’s of both of these languages, as well as how they compare to one another!

R Advantages

Let’s take a look at some advantages for R.

Great for statistical analysis

Since R is a statistical programming language, any type of statistical computations your going to create will end up being more efficient using R. In my experience, data processing maybe overall better using R, but if your doing a lot of Machine Learning tasks, Python maybe better. But ultimately, the packages that R has (dplyr, tidyverse, etc.) maybe better than Python’s offering (Pandas).

Arguably better graphs / outputs

R has a ton of functionality within it, and one of the best things about R are the graphs / visuals you can create with this language! First off, Python has a lot of functionality with outputs, but R does some crazy outputs for sure:

--

--