NumPy - Array Manipulation
Which of the following is the correct syntax to reshape a NumPy array
arr into 2 rows and 3 columns?arr into 2 rows and 3 columns?array.reshape(dim1, dim2, ...) with dimensions as separate arguments or a tuple.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions