R and Python are partially overlapping but different as a whole: community and language. Still, comparing them in their common fields such as data wrangling and visualisation, useRs and Pythonistas will deepen mutual understanding.
R and Python have differences as many as simiralities. Through their comparisons, we can understand both languages better and use them effectively. I will take a look at some examples from de facto standard packages such as tidyverse and pandas for data munging tasks, and ggplot2 and matplotlib (and seaborn) for data visualisation.
Differences between R and Python as Language
- Procedural and object-oriented programming
- Specific and general purpose
Data Wrangling
- tidyverse
- pandas
Data Visualisation
- ggplot2
- matplotlib
- plotly
Some Other Cases (depending on time and interest)
- Machine learning
- Deep learning
- Big data (distributed data processing)
- Natural language processing
Conclusion
- To be bilingual
R and Python are different in community and as language. Still, comparing them in their common fields such as data wrangling and visualisation, useRs and Pythonistas will deepen mutual understanding.
Data Scientist at Janssen Pharmaceutical K.K., a family company of Johnson & Johnson in Tokyo. I have more than 6 years of experience and have worked at Janssen for 3 years collaborating successfully with commercial colleagues and senior management to deliver strategic insights through data science.