7. Array-Oriented Programming with NumPy

Objectives

In this chapter you’ll:

Image Learn how arrays differ from lists.

Image Use the numpy module’s high-performance ndarrays.

Image Compare list and ndarray performance with the IPython %timeit magic.

Image Use ndarrays to store and retrieve data efficiently.

Create and initialize ndarrays.

Refer to individual ndarray

Get Python for Programmers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.