Introduction

This lesson introduces you to n-dimensional arrays in NumPy.

The NUMerical PYthon package, commonly known as NumPy, provides a data structure called arrays. They allow efficient vector and matrix operations. These arrays are of type ndarray from the numpy module.

These arrays :

  • are essential for plotting using matplotlib.
  • are commonly used to solve systems of linear equations.
  • can be used to store an image in the form of an array.

NumPy arrays are the basis of all computations performed by the NumPy library. They are simple Python lists with a few additional properties.

Get hands-on with 1200+ tech skills courses.