The core library. > The central object is the Numpy Array. One sentence summary: Linear algebra + bit of probability
- From: The Stack
- What it does (an overview)
- NumPy arrays vs Python lists
- Functions
- np.random - used frequently to generate data
- np.linespace
- np.zeros
- Dealing with vectors
- Speed Test
- Generating data
- Numpy Exercise
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()