02-Python vs R
02-Python vs R
موضوعPython vs R :
Data-Hub
مواردی که در این جلسه بررسی می شوند:
.1معرفی پایتون
.2معرفی R
.3مقایسه هر دو
Data-Hub
Python vs. R:
In many ways, the two open source languages are very similar. Free to download for
everyone, both languages are well suited for data science tasks. The main difference
is that Python is a general-purpose programming language, while R has its roots in
statistical analysis.
Source:codeplatoon.org
Data-Hub
Data-Hub
~ 1,700,000,000 Rial
~ 140,000,000 Rial per month
Data-Hub
Data-Hub
Data-Hub
Data-Hub
Source: PayScale.com
Data-Hub
Source: flatironschool.com
Data-Hub
Usability
Coding and debugging is easy because of the simple syntax.
Statistical models can be written with only a few lines.
Data-Hub
Ecosystem
The Python Package Index (PyPi) and Anaconda are repositories of Python
software with all libraries. Users can contribute to these repositories.
Search through these sources easily with Rdocumentation. Packages are collections
of R functions, data, and compiled code.
Data-Hub
Ease of Learning
Python’s focus on readability and simplicity.
R is easier to learn when you start out, but the intricacies of advanced functionalities
makes it more difficult to develop expertise.
Data-Hub
Advantages
• Handling massive amounts of data
• Building deep learning models
• Performing non-statistical tasks, like web scraping, saving to databases, and
running workflows
• Widely considered the best tool for making beautiful graphs and visualizations.
• Great for statistical analysis.
Data-Hub
Disadvantages
• Visualizations are more convoluted in Python than in R, and results are not as eye-
pleasing or informative.
• Python doesn’t have as many libraries for data science as R.