7. Array-Oriented Programming with NumPy
Objectives
In this chapter you’ll:
Learn how arrays differ from lists.
Use the
numpy
module’s high-performance ndarray
s.
Compare list and
ndarray
performance with the IPython %timeit
magic.
Use
ndarray
s to store and retrieve data efficiently.
Create and initialize ndarray
s.
Refer to individual ndarray
Get Python for Programmers now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.