Summary: in this tutorial, you’ll have a good understanding of NumPy and how it helps you perform calculations fast and efficiently.
Introduction to NumPy #
NumPy stands for Numerical Python and is pronounced as /ˈnʌmpaɪ/. Numpy is a Python library that performs numerical calculations.
NumPy is very fast because it is written in the C programming language.
NumPy is built on linear algebra. It’s about matrices and vectors and performing the mathematical calculations on them.
The key concept in NumPy is the NumPy array data type. A NumPy array may have one or more dimensions:
- One dimension arrays (1D) represent vectors.
- Two-dimensional arrays (2D) represent matrices.
- And higher dimensional arrays represent tensors.