If you only want to learn one language, python is still recommended.
Judging from the situation of people around me, many people who have learned a lot of R eventually choose to learn another Python, including myself. But people who are very good at Python have never heard of people coming to learn R. (Recommended learning: Python video tutorial)
I actually learned python for crawlers, and then I learned python data analysis by the way. What impresses me the most is python's neatness, uniformity and elegant syntax. For example, various machine learning algorithms are used in exactly the same way in Python, and training, prediction and testing are all done in the same way, which greatly reduces the cost of learning. At this point, R seems very messy. Although there are many and complete R packages, there are too many repetitions and different calling methods, so the learning cost rises sharply.
However, R also has advantages that python cannot match. To sum up, R is more convenient.
First, drawing.
Python's drawings are basically based on the matplotlib library, and many other libraries are related to this. It is undeniable that the drawing flexibility of this library is very powerful, that is, you can adjust it wherever you want, but it is very troublesome to write a lot of code every time you draw a simple graphic.
Second, the call of the data analysis function.
Because data science is just a branch of python, the data types of data science are not python’s built-in types, but are placed in several libraries. The libraries must be loaded every time they are used. The function used is more troublesome in my opinion.
To sum up, the design of Python syntax is more standardized, and users can realize their own ideas more freely, but it will help you realize less things than R. Because it is more flexible, I recommend this if you are only learning one language. Otherwise, if you are learning R language, you will sometimes feel that it is not enough and feel uncomfortable.
To use an analogy, python is like giving you a very good fishing rod. You can catch any fish you want (but you have to catch it yourself). R is like giving you A fishing rod that is not that easy to use also comes with endless carp and crucian carp. You can only eat these two kinds of fish, but if you want to eat grass carp, you will have to put in a lot of effort to eat it. In order to prevent misleading, add the comparison of C language. C language is a fishing rod and you have to make it yourself.
For more Python related technical articles, please visit the Python Tutorial column to learn!
The above is the detailed content of Which is easier to get started with r or python?. For more information, please follow other related articles on the PHP Chinese website!

本篇文章给大家带来了关于Python的相关知识,其中主要介绍了关于Seaborn的相关问题,包括了数据可视化处理的散点图、折线图、条形图等等内容,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于Python的相关知识,其中主要介绍了关于进程池与进程锁的相关问题,包括进程池的创建模块,进程池函数等等内容,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于Python的相关知识,其中主要介绍了关于简历筛选的相关问题,包括了定义 ReadDoc 类用以读取 word 文件以及定义 search_word 函数用以筛选的相关内容,下面一起来看一下,希望对大家有帮助。

VS Code的确是一款非常热门、有强大用户基础的一款开发工具。本文给大家介绍一下10款高效、好用的插件,能够让原本单薄的VS Code如虎添翼,开发效率顿时提升到一个新的阶段。

pythn的中文意思是巨蟒、蟒蛇。1989年圣诞节期间,Guido van Rossum在家闲的没事干,为了跟朋友庆祝圣诞节,决定发明一种全新的脚本语言。他很喜欢一个肥皂剧叫Monty Python,所以便把这门语言叫做python。

本篇文章给大家带来了关于Python的相关知识,其中主要介绍了关于数据类型之字符串、数字的相关问题,下面一起来看一下,希望对大家有帮助。

本篇文章给大家带来了关于Python的相关知识,其中主要介绍了关于numpy模块的相关问题,Numpy是Numerical Python extensions的缩写,字面意思是Python数值计算扩展,下面一起来看一下,希望对大家有帮助。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Mac version
God-level code editing software (SublimeText3)

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6
Visual web development tools

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software
