NumPy - Creating Arrays
What is the shape and type of the output from this code?
import numpy as np arr = np.random.rand(2, 4) print(arr.shape, type(arr))
import numpy as np arr = np.random.rand(2, 4) print(arr.shape, type(arr))
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions