Representing Data with NumPy
In this lesson you will learn how to use NumPy to represent large, multi-dimensional arrays and matrices.
Introduction to NumPy
Sometimes, we need a data structure called arrays to represent a group of the same data type together. For this purpose, in Python, we can either use a list or use NumPy arrays. NumPy is a library for the Python programming language that adds support for large, multi-dimensional arrays and matrices, along with an extensive collection of high-level mathematical functions to operate on these arrays. To use NumPy, you will need to import it, as shown in the code snippet below.
Get hands-on with 1400+ tech skills courses.