4 ms·
Ugh, not again. R is good for tabular data and Python is good for text/image/nontabular data. And there's nothing wrong with knowing and using both languages.
by minimaxir 10y ago
Ugh, not again.
R is good for tabular data and Python is good for text/image/nontabular data. And there's nothing wrong with knowing and using both languages.
Likewise, the world will not end if you use Python pandas for tabular manipulation or various bespoke R packages for nontabular manipulatition.
This isn't the battle that people should be fighting. It's not even a religious argument like web development stacks where a language can eek out better benchmarks. And as others note, this very article concludes that they both have their advantages.
- gigatexal 10y agoDoesn't pandas allow Python to process tabular data like a champ?
- BeetleB 10y ago>R is good for tabular data and Python is good for text/image/nontabular data. Everyone I know who's used both prefers Pandas to R for tabular data.
- username223 10y ago> Ugh, not again. No kidding. If you want to be a "data scientist" (whatever that means), it's good to have a scripting language (Perl, Python, Ruby), a math language (Matlab/Octave, R), and a fast language (probably C). You can torture any one of these to fill the others' roles, but usually it's easier to use the best tool for each job.
- make3 10y agoThere is no way you need to know matlab or R to be a data scientist if you already know Python
- brogrammernot 10y ago"Need to know" might be a stretch but you should be familiar with it. There's several times I've come across something in R or Matlab that I want to do in Python, and it's easier to port over code/processes if you have an awareness. I'm a thousand times better at Python then R/Matlab but being familiar with them has helped me a lot. Since this is a data scientist thread, n=1
- pvaldes 10y agoYou will be a better data scientist if you spend some time exploring the extensive R documentation and lots and lots of real life examples. On the other hand R and Python (not to forget Latex) are easy to connect so there is not need to choose only one of them. You can call R from Lisp also of course.
- coliveira 10y agoThis attitude is common for people who only want to learn ONE way of doing things. They buy the illusion that there is a silver bullet for all computing (or data analysis) tasks. In fact computing is the art of using the right tools and languages to solve particular problems.