SchoolWhool
Quizzes and saved progress, freeSign in freeSign in

Tools 1.1Lesson outlineLesson 1 of 7 in Module 1

Why NumPy

Say what an array holds that a list does not, and why that makes it faster and smaller.

Free sample. Everything in this module opens with a free account.Video in production.

Lesson outline: Why NumPy

In this lesson7 parts

  1. 01Summing a list with a Python loop, and timing it
  2. 02Why NumPy, and array oriented computing
  3. 03References, objects and the packed buffer
  4. 04Creating an array with np.array, and summing it
  5. 05How the speed difference scales with array size
  6. 06Fixed width types, and object dtype
  7. 07Recap and your challenge