Jump to ratings and reviews
Rate this book

Learning PySpark: Build data-intensive applications locally and deploy at scale using the combined powers of Python and Spark 2.0

Rate this book
Build data-intensive applications locally and deploy at scale using the combined capabilities of Python and Spark 2.0

Key FeaturesGet up to speed with Spark 2.0 architecture and techniques for using Spark with PythonLearn how you can efficiently use Python to process data and build machine learning models in Apache Spark 2.0Develop and deploy efficient, scalable real-time Spark solutionsBook DescriptionApache Spark is an open source framework for efficient cluster computing with a strong interface for data parallelism and fault tolerance. This book will demonstrate how you can leverage the power of Python and put it to use in the Spark ecosystem.

You will start by understanding Spark 2.0 architecture and learning how to set up a Python environment for Spark. You will then get familiar with the modules available in PySpark such as MLib. The book will also guide you on how to abstract data with RDDs and DataFrames. In later chapters, you'll get up to speed with the streaming capabilities of PySpark. Toward the end, you will gain insights into the machine learning capabilities of PySpark using ML and MLlib, graph processing using GraphFrames, and polyglot persistence using Blaze. Finally, you will learn how to deploy your applications to the cloud using the spark-submit command.

By the end of this book, you will have a strong understanding of the Spark Python API and how it can be used to build data-intensive applications.

What you will learnLearn how to solve graph and deep learning problems using GraphFrames and TensorFrames respectively Build and interact with Spark DataFrames using Spark SQLRead, transform, and understand data and use it to train machine learning models Develop machine learning models with MLlib Learn to submit your applications programmatically using spark-submit Deploy locally built applications to a clusterWho this book is forIf you are a Python developer who wants to learn about the Apache Spark 2.0 ecosystem, this book is for you. A strong understanding of Python is expected to get the most out of this book. Familiarity with Spark will be useful, but is not mandatory.

Table of ContentsUnderstanding SparkResilient Distributed DatasetsDataFramesPrepare Data for ModelingIntroducing MLlib Introducing the ML PackageGraphFrames TensorFramesPolyglot Persistence with Blaze Structured Streaming Packaging Spark Applications

443 pages, Kindle Edition

Published February 27, 2017

16 people are currently reading
33 people want to read

About the author

Tomasz Drabas

5 books1 follower

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
2 (25%)
4 stars
2 (25%)
3 stars
3 (37%)
2 stars
1 (12%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Vishwanath.
45 reviews8 followers
January 27, 2018
This book is not a reference book and does not delve deep into the internals of Spark. However, it really hits the mark in terms of having all the fundamentals and code examples you need to actively start using spark in one place. This book helped me consolidate some fundamentals and have the relevant code examples that can be reused for other projects. After the deluge of books that primarily deal with RDDs, its great to have a book that goes into Apache Spark 2.0's DataFrame. Relevant links are peppered all over the book for further research.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.