I wouldn't say either is better, quality judgements are probably the wrong way to look at it.
Each language has different strengths. Python is a general-purpose language and has a wide variety of libraries available, so it can support almost any use case. In particular, Python has very strong support for machine learning libraries to accelerate development of ML models.
R has long been popular among mathematicians and statisticians, so many data scientists with those sorts of backgrounds will be familiar with R and may prefer to use it for their work.
Heck, I still have clients who need Fortran support in their Data Science environments because they have certain standard statistical modeling packages that are still only available for Fortran.
The right question to ask is, which is going to best support your needs based on the skills available in your team and the requirements you're trying to meet. That said, Python is popular because it is a full-featured, general-purpose language with broad support and machine learning capabilities. It's easy to learn (as general-purpose programming languages go) and works in most data science platforms (in, particular, Spark started with Scala and Python, R was added later, so Jupyter, specifically, was very Python focused for a long time). In the academic science and engineering world, Python's popularity has really taken off in the last 10 years or so, alongside tools like Jupyter (but I've got to believe that R and Matlab are still seeing strong use in such circles).
TL;DR is that neither is better, it's all down to preferences for notebook environments developing over the last 10 years or so.
------------------------------
Eric Walk
Director
O: 617-453-9983 | NASDAQ: PRFT | Perficient.com
------------------------------
Original Message:
Sent: Sun March 13, 2022 05:11 PM
From: Neelam jyoti
Subject: Is Python good for data science?
why Python is widely used in the scientific and research communities for Data Science. Which is better Data Science with Python or R?
------------------------------
Neelam jyoti
------------------------------