Skip to Content
NumPy Essentials
book

NumPy Essentials

by Jaidev Deshpande, Leo (Liang-Huan) Chin, Tanmay Dutta, Shane Holloway
April 2016
Beginner content levelBeginner
156 pages
3h 23m
English
Packt Publishing
Content preview from NumPy Essentials

Chapter 8. Speeding Up NumPy with Cython

Python combined with the NumPy library provides the user with a tool to write highly complex functions and analysis. As the size and complexity of code grow, the number of inefficiencies in the code base starts to creep in. Once the project is in its completion stages, developers should start focusing on the performance of the code and analyze the bottlenecks. Python provides many tools and libraries to create optimized and faster-performing code.

In this chapter, we will be looking at one such tool called Cython. Cython is a static compiler for Python and the language "Cython," which is particularly popular among developers working on scientific libraries/numerical computing. Many famous analytics libraries ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SciPy and NumPy

SciPy and NumPy

Eli Bressert
Python Distilled

Python Distilled

David M. Beazley

Publisher Resources

ISBN: 9781784393670Supplemental Content