- Java Data Analysis
- John R. Hubbard
- 259字
- 2021-07-02 18:21:44
Data points and datasets
In data analysis, it is convenient to think of the data as points of information. For example, in a collection of biographical data, each data point would contain information about one person. Consider the following data point:
("Adams", "John", "M", 26, 704601929)
It could represent a 26
-year-old male named John Adams
with ID number 704601929
.
We call the individual data values in a data point fields (or attributes). Each of these values has its own type. The preceding example has five fields: three text and two numeric.
The sequence of data types for the fields of a data point is called its type signature. The type signature for the preceding example is (text, text, text, numeric, numeric). In Java, that type signature would be (String
, String
, String
, int
, int
).
A dataset is a set of data points, all of which have the same type signature. For example, we could have a dataset that represents a group of people, each point representing a unique member of the group. Since all points of the set have the same type signature, we say that signature characterizes the dataset itself.
Null values
There is one special data value whose type is unspecified, and therefore may take the role of any type. That is the null value. It usually means unknown. So, for example, the preceding dataset described could contain the data point ("White", null, "F", 39, 440163867)
, which would represent a 39
-year-old female with last name White
and ID number 440163867
but whose first name is unknown (or unspecified).
- JBoss Weld CDI for Java Platform
- Data Visualization with D3 4.x Cookbook(Second Edition)
- Oracle WebLogic Server 12c:First Look
- WebAssembly實(shí)戰(zhàn)
- Developing Mobile Web ArcGIS Applications
- Rake Task Management Essentials
- Python機(jī)器學(xué)習(xí)實(shí)戰(zhàn)
- 深入淺出RxJS
- Python Data Analysis Cookbook
- R語(yǔ)言與網(wǎng)絡(luò)輿情處理
- Python函數(shù)式編程(第2版)
- SpringBoot從零開(kāi)始學(xué)(視頻教學(xué)版)
- WildFly Cookbook
- 從零開(kāi)始:C語(yǔ)言快速入門教程
- Visual Basic程序設(shè)計(jì)基礎(chǔ)