Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
In NumPy, what is the result of arr1.shape = (4, 5) if arr1 initially had 20 elements?
arr1.shape = (4, 5)
arr1
A flattened 20-element array
A 4x5 array
A 5x4 array
An error due to dimension mismatch
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!