create an array of zeros python code example Example: np.zeros >>> np.zeros((2, 1)) array([[ 0.], [ 0.]])