Advanced NumPy

Prerequisites

This lesson covers advanced features of NumPy. If you know how to create a NumPy array and can explain how it differs from a Python list, you are ready to go.

If you know how to use array broadcasting and indexing to accelerate your code, the lecture will be probably too basic.

Getting ready

Make sure that you have a working installation of NumPy.

Topics

  1. Introduction
  2. Operations on NumPy arrays
  3. Indexing
  4. Broadcasting
  5. Array container
  6. Case study: K-means

Other Resources