Module 4: Lesson 2


Introduction to NumPy

The second lesson introduces the NumPy module, which supports fast numerical operations within Python and forms the basis for the Pandas module.

Objectives

By the end of this lesson, you will understand

  • the benefits of using the NumPy module,
  • how to create and manipulate NumPy arrays, and
  • how to apply universal functions to NumPy arrays.

Time Estimate

Approximately 2 hours.

Activities

Video: Watch the Introduction to the NumPy video, which will demonstrate how to efficiently work with numerical data in Python.

Notebook: Read and complete the student exercises in the Introduction to NumPy notebook.


© 2017: Robert J. Brunner at the University of Illinois.

This notebook is released under the Creative Commons license CC BY-NC-SA 4.0. Any reproduction, adaptation, distribution, dissemination or making available of this notebook for commercial use is not allowed unless authorized in writing by the copyright holder.