NumPy - Array Manipulation
What is the shape of the array after executing this code?
import numpy as np arr = np.arange(12) new_arr = arr.reshape(4, 3)
import numpy as np arr = np.arange(12) new_arr = arr.reshape(4, 3)
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions