array with zeros python 1

array with zeros python

np.zeros((2, 1))
array([[ 0.],
       [ 0.]])

Here is what the above code is Doing:
1. Create a 2×2 array of zeros
2. Create a 2×1 array of zeros
3. Create a 1×2 array of zeros
4. Create a 1×1 array of zeros

Similar Posts