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即学即用
180
20
输出到数据库
Prep Builder
最初发布时,它是为
Tableau Desktop
准备数据而设计的。但由于
Prep Builder
对数据的清理和处理如此简单有效,因此很快就出现了这样的需求,即
不仅可以将数据输出到
TDE
CSV
文件中,还可以将数据输出到许多信息的原始
来源——数据库中。这对
Tableau
来说明显偏离了其初衷,因为
Tableau Desktop
直是一个只读工具,所以允许
Prep Builder
用户永久地改变数据既带来了机会,也
带来了风险。
本章将介绍何时、如何将数据写回数据库,以及这样做时要注意什么。
20.1
何时向数据库写入数据
正如我们在其他章节中所看到的那样,凌乱的多数据集可能需要很多时间来准备。
如果你已经花费了时间和精力使数据适合分析,那么你很可能会将其提供给其他人,
或者将其发布返回至该数据的来源,在那里人们不再需要再次与之“战斗”。本节
介绍了一些常见的、可能需要考虑将输出信息发布到数据库的情况。
20.1.1
清理数据
首先,“脏”数据是我们要准备数据的原因。如果你已经清理了一次数据,为什么
不把它装回源头呢?显然,必须注意不要删除或过滤那些对他人有用的数据。但是,
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