NumPy - Creating Arrays
What will be the output of this code?
import numpy as np arr = np.empty((2,2)) print(arr)
import numpy as np arr = np.empty((2,2)) print(arr)
np.empty() creates an array without initializing values, so the content is random garbage data from memory.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions