The core library. > The central object is the Numpy Array. One sentence summary: Linear algebra + bit of probability

NumPy array attributes

  • Number of dimensions of a NumPy array: ndim
  • Shape of a NumPy array: shape
  • Size of a NumPy array: size

Using built in function len()

  • Size of the first dimension of a NumPy array: len()