High Performance Python
Author | : Micha Gorelick |
Publisher | : O'Reilly Media |
Total Pages | : 450 |
Release | : 2020-09-08 |
ISBN-10 | : 1492055026 |
ISBN-13 | : 9781492055020 |
Rating | : 4/5 (020 Downloads) |
Download or read book High Performance Python written by Micha Gorelick and published by O'Reilly Media. This book was released on 2020-09-08 with total page 450 pages. Available in PDF, EPUB and Kindle. Book excerpt: Your Python code may run correctly, but you need it to run faster. By exploring the fundamental theory behind design choices, the updated edition of this practical guide, expanded and enhanced for Python 3, helps you gain a deeper understanding of Python's implementation. You'll learn how to locate performance bottlenecks and significantly speed up your code in high-data-volume programs. How can you take advantage of multicore architectures or clusters? Or build a system that can scale up and down without losing reliability? Experienced Python programmers and students alike will learn concrete solutions to these and other issues, along with war stories from companies that use high-performance Python for social media analytics, productionized machine learning, and other situations. Get a better grasp of NumPy, Cython, and profilers Learn how Python abstracts the underlying computer architecture Understand performant pandas Use profiling to find bottlenecks in CPU time and memory usage Write efficient programs by choosing appropriate data structures Speed up matrix, vector, and even tensor computations Use tools to compile Python down to machine code, on CPUs and GPUs Manage multiple I/O and computational operations concurrently Convert multiprocessing code to run on a local or remote cluster Deploy code faster using tools like Docker Solve large problems while using less RAM Get real-life stories and lessons from Python programmers