Skip to Content
Tableau Prep即学即用
book

Tableau Prep即学即用

by Carl Allchin
August 2022
Beginner to intermediate
463 pages
9h 22m
Chinese
China Electric Power Press Ltd.
Content preview from Tableau Prep即学即用
213
过滤
23.2.4
空值过滤
Null Values
(空值)选项中(同样从概况窗格中数据字段顶部的省略号菜单中进入),
可以选择是只保留包含
null
(空值)的行,还是保留具有
null-null
(非空值)的行(见
23-9
)。
23
-
9
Null Values(空值)过滤器
23.3
何时过滤掉列
删除数据列是不应该轻视的数据准备步骤。一旦你做出了这个决定,几乎没有什么
办法能让这些数据从丢失的状态中恢复过来(除了之前步骤中一个令人困惑的连
接)。
尽管如此,在以下情况下,删除掉不必要的数据字段是很有价值的:
删除空白列。在使用
Excel
或文本文件时,会经常发现有明显的空白列,这些列
往往只在其中一行中暗藏着一个空格。删除这些,不用犹豫
!
删除那些大部分内容为
null
(空值)的列。仅仅因为某些行是空的,并不意味
着应该立即删除全部的列。有没有办法使用合并功能来填充这些行的数据?是
否有理由让该列包含空值?如果有,就把该列留在原地;否则,就把它过滤掉。
23.4
何时过滤掉行
与列一样,过滤掉数据行的原因有很多。注意不要删除别人在分析中可能发现有用
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

深度学习:核心原理与案例分析

深度学习:核心原理与案例分析

Posts & Telecom Press, Ahmed Menshawy
Python金融实战

Python金融实战

Posts & Telecom Press, Yuxing Yan
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
HBase管理指南

HBase管理指南

Posts & Telecom Press, Yifeng Jiang

Publisher Resources

ISBN: 9787519864439