Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Distributed Data Systems with Azure Databricks

You're reading from  Distributed Data Systems with Azure Databricks

Product type Book
Published in May 2021
Publisher Packt
ISBN-13 9781838647216
Pages 414 pages
Edition 1st Edition
Languages
Author (1):
Alan Bernardo Palacio Alan Bernardo Palacio
Profile icon Alan Bernardo Palacio

Table of Contents (17) Chapters

Preface Section 1: Introducing Databricks
Chapter 1: Introduction to Azure Databricks Chapter 2: Creating an Azure Databricks Workspace Section 2: Data Pipelines with Databricks
Chapter 3: Creating ETL Operations with Azure Databricks Chapter 4: Delta Lake with Azure Databricks Chapter 5: Introducing Delta Engine Chapter 6: Introducing Structured Streaming Section 3: Machine and Deep Learning with Databricks
Chapter 7: Using Python Libraries in Azure Databricks Chapter 8: Databricks Runtime for Machine Learning Chapter 9: Databricks Runtime for Deep Learning Chapter 10: Model Tracking and Tuning in Azure Databricks Chapter 11: Managing and Serving Models with MLflow and MLeap Chapter 12: Distributed Deep Learning in Azure Databricks Other Books You May Enjoy

Transforming and cleaning data

After our data has been loaded into a Spark dataframe, we can manipulate it in different ways. We can directly manipulate our Spark dataframe or save the data to a table, and use Structured Query Language (SQL) statements to perform queries, data definition language (DDL), data manipulation language (DML), and more.

You will need to have the Voting_Turnout_US_2020 dataset loaded into a Spark dataframe.

Spark data frames

A Spark data frame is a tabular collection of data organized in rows with named columns, which in turn have their own data types. All this information is stored as metadata that we can access using displaySchema in order to display the data types of each column or display the actual data, or describe in order to view the statistical summary of the data. One of its characteristics is that it is able to handle big amounts of data thanks to its distributed nature.

We can perform transformations such as selecting rows and columns...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}