O'Reilly logo

Python for Programmers, First Edition by Harvey Deitel, Paul Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required