Mastering Large Datasets with Python: Parallelize and Distribute Your Python Code

  • 5h 2m
  • John T. Wolohan
  • Manning Publications
  • 2019

Summary

Modern data science solutions need to be clean, easy to read, and scalable. In Mastering Large Datasets with Python, author J.T. Wolohan teaches you how to take a small project and scale it up using a functionally influenced approach to Python coding. You'll explore methods and built-in Python tools that lend themselves to clarity and scalability, like the high-performing parallelism method, as well as distributed technologies that allow for high data throughput. The abundant hands-on exercises in this practical tutorial will lock in these essential skills for any large-scale data science project.

About the technology

Programming techniques that work well on laptop-sized data can slow to a crawl--or fail altogether--when applied to massive files or distributed datasets. By mastering the powerful map and reduce paradigm, along with the Python-based tools that support it, you can write data-centric applications that scale efficiently without requiring codebase rewrites as your requirements change.

About the book

Mastering Large Datasets with Python teaches you to write code that can handle datasets of any size. You'll start with laptop-sized datasets that teach you to parallelize data analysis by breaking large tasks into smaller ones that can run simultaneously. You'll then scale those same programs to industrial-sized datasets on a cluster of cloud servers. With the map and reduce paradigm firmly in place, you'll explore tools like Hadoop and PySpark to efficiently process massive distributed datasets, speed up decision-making with machine learning, and simplify your data storage with AWS S3.

What's inside

  • An introduction to the map and reduce paradigm
  • Parallelization with the multiprocessing module and pathos framework
  • Hadoop and Spark for distributed computing
  • Running AWS jobs to process large datasets

About the Author

J.T. Wolohan is a lead data scientist at Booz Allen Hamilton and a PhD researcher at Indiana University, Bloomington, affiliated with the Department of Information and Library Science and the School of Informatics and Computing. His professional work focuses on rapid prototyping and scalable AI. His research focuses on computational analysis of social uses of language online.

In this Book

  • About This Book
  • About the Cover Illustration
  • Introduction
  • Accelerating Large Dataset Work—Map and Parallel Computing
  • Function Pipelines for Mapping Complex Transformations
  • Processing Large Datasets with Lazy Workflows
  • Accumulation Operations with Reduce
  • Speeding up Map and Reduce with Advanced Parallelization
  • Processing Truly Big Datasets with Hadoop and Spark
  • Best Practices for Large Data with Apache Streaming and Mrjob
  • PageRank with Map and Reduce in PySpark
  • Faster Decision-Making with Machine Learning and PySpark
  • Large Datasets in the Cloud with Amazon Web Services and S3
  • MapReduce in the Cloud with Amazon’s Elastic MapReduce
SHOW MORE
FREE ACCESS