PySpark Recipes: A Problem-Solution Approach with PySpark2

  • 3h 2m
  • Raju Kumar Mishra
  • Apress
  • 2018

Quickly find solutions to common programming problems encountered while processing big data. Content is presented in the popular problem-solution format. Look up the programming problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved!

PySpark Recipes covers Hadoop and its shortcomings. The architecture of Spark, PySpark, and RDD are presented. You will learn to apply RDD to solve day-to-day big data problems. Python and NumPy are included and make it easy for new learners of PySpark to understand and adopt the model.

What You Will Learn

  • Understand the advanced features of PySpark2 and SparkSQL
  • Optimize your code
  • Program SparkSQL with Python
  • Use Spark Streaming and Spark MLlib with Python
  • Perform graph analysis with GraphFrames

Who This Book Is For

Data analysts, Python programmers, big data enthusiasts

About the Author

Raju Mishra has strong interests in data science and systems that have the capability of handling large amounts of data and operating complex mathematical models through computational programming. He was inspired to pursue an M. Tech in computational sciences from Indian Institute of Science in Bangalore, India. Raju primarily works in the areas of data science and its different applications. Working as a corporate trainer he has developed unique insights that help him in teaching and explaining complex ideas with ease. Raju is also a data science consultant solving complex industrial problems. He works on programming tools such as R, Python, scikit-learn, Statsmodels, Hadoop, Hive, Pig, Spark, and many others.

In this Book

  • The Era of Big Data, Hadoop, and Other Big Data Processing Frameworks
  • Installation
  • Introduction to Python and NumPy
  • Spark Architecture and the Resilient Distributed Dataset
  • The Power of Pairs: Paired RDDs
  • I/O in PySpark
  • Optimizing PySpark and PySpark Streaming
  • PySparkSQL
  • PySpark MLlib and Linear Regression