Learning PySpark

Learning PySpark

Packt Admin
Updated Feb 08, 2019

Apache Spark is an open-source distributed engine for querying and processing data. In this tutorial, we provide a brief overview of Spark and its stack. This tutorial presents effective, time-saving techniques on how to leverage the power of Python and put it to use in the Spark ecosystem. You will start by getting a firm understanding of the Apache Spark architecture and how to set up a Python environment for Spark. You'll learn about different techniques for collecting data, and distinguish between (and understand) techniques for processing data. Next, we provide an in-depth review of RDDs and contrast them with DataFrames. We provide examples of how to read data from files and from HDFS and how to specify schemas using reflection or programmatically (in the case of DataFrames). The concept of lazy execution is described and we outline various transformations and actions specific to RDDs and DataFrames. Finally, we show you how to use SQL to interact with DataFrames. By the end of this tutorial, you will have learned how to process data using Spark DataFrames and mastered data collection techniques by distributed data processing. Style and Approach: Filled with hands-on examples, this course will help you understand RDDs and how to work with them; you will learn about RDD actions and Spark DataFrame transformations. You will learn how to perform big data processing and use Spark DataFrames.

Target Audience 

If you are a Python developer keen to master hands-on techniques using the Apache Spark 2.x ecosystem in the best possible manner, this video is for you. A firm understanding of Python is expected to get the best out of the tutorial. Familiarity with Spark would also be helpful.

Business Outcomes  

  • Leverage the power of Apache Spark to perform efficient data processing and analytics on your data in real-time
  • Process and analyze streams of data with ease and perform machine learning efficiently
  • A comprehensive tutorial to help you get the most out of the trending Big Data framework for all your data processing needs