-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpart03.html
More file actions
186 lines (164 loc) · 7.19 KB
/
part03.html
File metadata and controls
186 lines (164 loc) · 7.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8"/>
<title>数据 + 设计</title>
<link rel="stylesheet" type="text/css" href="theme/html/html.css"/>
<script src="js/retina.min.js" type="text/javascript"> </script>
<script src="js/jquery.min.js" type="text/javascript"> </script>
<script src="js/data-design.js" type="text/javascript"> </script>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body data-type="book">
<span class="btn open">打开</span>
<div class="navbar">
<div class="title">
<span class="btn close">关闭</span>
<h1>数据 + 设计</h1>
<h2>对信息准备与可视化的简要介绍</h2>
</div>
<nav data-type="toc" id="idp97216">
<ol>
<li data-type="part">
<a href="titlepage01.html">简介</a>
<ol>
<li data-type="copyright-page">
<a href="copyright-page01.html">版权许可</a>
</li>
<li data-type="preface">
<a href="preface01.html">绪言</a>
</li>
<li data-type="foreword">
<a href="foreword01.html">序</a>
</li>
<li data-type="introduction">
<a href="introduction01.html">怎样使用本书</a>
</li>
</ol>
</li>
<li data-type="part">
<a href="part01.html">数据基础</a>
<ol>
<li data-type="chapter">
<a href="ch01.html">基本数据类型</a>
</li>
<li data-type="chapter">
<a href="ch02.html">关于数据聚合/统计</a>
</li>
</ol>
</li>
<li data-type="part">
<a href="part02.html">数据采集</a>
<ol>
<li data-type="chapter">
<a href="ch03.html">调查数据简介</a>
</li>
<li data-type="chapter">
<a href="ch04.html">调查问题类型</a>
</li>
<li data-type="chapter">
<a href="ch05.html">其他的数据采集方法</a>
</li>
<li data-type="chapter">
<a href="ch06.html">发现外部数据</a>
</li>
</ol>
</li>
<li data-type="part">
<a href="part03.html">让数据就绪</a>
<ol>
<li data-type="chapter">
<a href="ch07.html">数据准备</a>
</li>
<li data-type="chapter">
<a href="ch08.html">数据清理</a>
</li>
<li data-type="chapter">
<a href="ch09.html">数据校对种类</a>
</li>
<li data-type="chapter">
<a href="ch10.html">数据清理的能和不能</a>
</li>
<li data-type="chapter">
<a href="ch11.html">数据转换</a>
</li>
</ol>
</li>
<li data-type="part">
<a href="part04.html">数据可视化</a>
<ol>
<li data-type="chapter">
<a href="ch12.html">决定哪些以及多少数据用于呈现</a>
</li>
<li data-type="chapter">
<a href="ch13.html">图形化调查响应结果</a>
</li>
<li data-type="chapter">
<a href="ch14.html">解析信息图</a>
</li>
<li data-type="chapter">
<a href="ch15.html">色彩、字体、图标的重要性</a>
</li>
<li data-type="chapter">
<a href="ch16.html">打印 Vs. 网页,静态 Vs. 交互</a>
</li>
</ol>
</li>
<li data-type="part">
<a href="part05.html">不要做什么</a>
<ol>
<li data-type="chapter">
<a href="ch17.html">知觉欺骗</a>
</li>
<li data-type="chapter"><a href="ch18.html">常见可视化错误</a>
</li>
</ol>
</li>
<li data-type="part">
<a href="#">总结</a>
<ol>
<li data-type="chapter">
<a href="app01.html">资源</a>
</li>
<li data-type="chapter">
<a href="glossary01.html">术语表</a>
</li>
<li data-type="chapter">
<a href="acknowledgments01.html">贡献者/致谢</a>
</li>
</ol>
</li>
</ol>
</nav>
</div>
<div data-type="part" class="green" data-pdf-bookmark="Part X. Preparing data" id="idp5520448">
<header>
<h1><img src="images/sections/04/preparing-data.png"/>Preparing data</h1>
<h1><img src="images/sections/04/preparing-data.png"/>让数据就绪</h1>
</header>
<section class="content" id="idp5688560">
<p>After you’ve collected the ingredients you want for your recipe, you have to prepare them before you start cooking. This is the prep step, in which you wash, chop, and otherwise get your ingredients ready. Many of us dislike this step because it isn’t much fun, but if you’ve ever had a dish with dirty vegetables, you know firsthand how much the end result can suffer if this step is done poorly or skipped altogether!</p>
<p>为菜谱收集到你想要的食材后,在开始烹饪前你必须准备它们。准备步骤中你要清洗、切片和其他种种,让食材就绪。我们很多人不喜欢这个步骤因为它很无趣,但是如果你吃过用不干净的蔬菜做的菜,你就会切身体会到在这个步骤敷衍或干脆直接略过会让你忍受怎样痛苦的恶果。</p>
<p>As in cooking, many also dislike the prep step when working with data, but it is necessary. You can’t just grab the data, throw it into a visualization, and expect it to come out right. If you want to create the best graphics you can, you need to make sure your data is prepared correctly. Some of your data may need to be separated into different groups, some may need converting, and some may need to be cleaned, like the vegetables.</p>
<p>如同烹饪,在数据处理中很多人也不喜欢这个步骤,但这是必须的。你没法拿到数据,就丢到可视化中,并期待正确的结果。如果你想尽你所能创建最好的图,你需要确保数据被正确的准备好。就如果蔬菜一样,一些数据可能需要从其他类型中分离出来,一些需要进行转换,一些需要清理。</p>
<p>In this section, we’ll talk about some of the common preparation and cleaning tasks encountered when working with data, and about ways that you can potentially decrease the amount of time you’ll need to spend doing them. No matter how you slice it, if you get your data set up the right way, it will make everything a go a lot smoother when you get to the visualization stage.</p>
<p>在这部分,我们将介绍数据处理中面对的一些常用的准备和清理任务,以及可能降低做这些所花时间的方法。无论怎么切分,如果能正确地把数据准备妥当,当你进行可视化阶段时,一切将变得顺畅。</p>
</section>
</div>
<div class="navigation">
<ul>
<li id="next_page"><a href="ch07.html">Next</a></li>
<li id="previous_page"><a href="ch06.html">Previous</a></li>
</ul>
</div>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?27111432badf47d1f6260dcd3c815289";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>