- Practical Data Wrangling
- Allan Visochek
- 262字
- 2021-07-02 15:16:05
R
R is both a programming language and an environment built specifically for statistical computing. This definition has been taken from the R website, r-project.org/about.html:
In other words, one of the major differences between R and Python is that some of the most common functionalities for working with data--data handling and storage, visualization, statistical computation, and so on--come built in. A good example of this is linear modeling, a basic statistical method for modelling numerical data.
In R, linear modeling is a built-in functionality that is made very intuitive and straightforward, as we will see in Chapter 5, Manipulating Text Data - An Introduction to Regular Expressions. There are a number of ways to do linear modeling in Python, but they all require using external libraries and often doing extra work to get the data in the right format.
R also has a built-in data structure called a dataframe that can make manipulation of tabular data more intuitive.
The big takeaway here is that there are benefits and trade-offs to both languages. In general, being able to use the right tool for the job can save an immense amount of time spent on data wrangling. It is therefore quite useful as a data programmer to have a good working knowledge of each language and know when to use one or the other.
- 輕松學(xué)C語言
- Project 2007項(xiàng)目管理實(shí)用詳解
- 網(wǎng)上沖浪
- 商戰(zhàn)數(shù)據(jù)挖掘:你需要了解的數(shù)據(jù)科學(xué)與分析思維
- Julia 1.0 Programming
- HBase Design Patterns
- 模型制作
- Visual C# 2008開發(fā)技術(shù)詳解
- 可編程控制器技術(shù)應(yīng)用(西門子S7系列)
- 四向穿梭式自動(dòng)化密集倉儲(chǔ)系統(tǒng)的設(shè)計(jì)與控制
- Implementing Splunk 7(Third Edition)
- 從零開始學(xué)C++
- Visual Studio 2010 (C#) Windows數(shù)據(jù)庫項(xiàng)目開發(fā)
- Arduino創(chuàng)意機(jī)器人入門:基于Mind+
- 華人動(dòng)畫師的法蘭西印象