Module 7: Lesson 2


Introduction to NumPy Matrices

The second lesson introduces how to use the NumPy module in Python to explore higher dimensional data, including the analytical quantification of the correlation between different dimensions of a data set.

Objectives

By the end of this lesson, you will be able to:

  • create multi-dimensional arrays by using NumPy,
  • access elements from multi-dimensional arrays,
  • use NumPy to operate efficiently on multi-dimensional data, and
  • compute correlation measurements from NumPy arrays.

Time Estimate

Approximately 2 hours.

Activities

Video: Watch the Introduction to NumPy Matrices video, which will demonstrate how to work with two-dimensional (and higher dimensional) data by using the NumPy module in Python.

Notebook: Read and complete the student exercises in the Introduction to NumPy Matrices 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.