NumPy - Creating Arrays
You have a 2D array of zeros with shape (3, 3). How can you create a new array of the same shape filled with ones using
np.ones_like()?np.ones_like()?15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions