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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.