Section I. A Note From The Author
There are two main programming languages in the business analytics world: R and Python. People often ask which they should learn. People ask me that question so often that I actually wrote a blog post titled Should I Learn R or Python?
The R versus Python argument might be as old as Betty White. Ok, well not that old. To be frank, it is not even about the age of the argument. It is old as in it is tiresome.
My career has always been about learning the most valuable skills in the marketplace. Back when dinosaurs roamed the earth (2014), employers were pretty agnostic about rather their data people knew R or Python. However, after a few years, I started to notice the market tipping towards Python. Then I noticed that employers started going hard in the paint on Python. Then came the last straw. I tell people this all the time. I was not losing work because I did not know R. I was definitely losing work because I did not know Python.
Whenever people argue about the virtues of R versus Python, they always make technical arguments about various features of the two languages.
I never care about the technical reasons for learning a language. I want to know what the business case is for learning a programming language. What’s my investment? What's my risk? What's my forecasted ROI? If I am going to spend months of my life learning a new language and years mastering it, I want to make sure I am not wasting my time. I want to know I can get a job at the end of the initial learning journey. From that perspective, there is no argument.
Since I have statistics in my background, I actually started using R first. When the market tilted all the way over towards Python, I put R down and have not touched it since.
Now, should you at some point learn R also? Maybe? For data science, probably. Python, for all its awesomeness is a general programing language with modules that let you do data science. Some of the data science modules are poorly implemented. I would not even know that if I did not follow data scientist with PhDs on Twitter. For some things R is superior because it is what is known as a domain specific language. It is written specifically to do statistics work.
My advice? Learn Python. Get a job. Learn R on your employer’s dime.