Python Programming - Arrays - Discussion
Discussion Forum : Arrays - General Questions (Q.No. 38)
38.
How can you reshape a NumPy array
arr
into a 2x3 matrix?
Answer: Option
Explanation:
The
arr.reshape(2, 3)
method reshapes the array into a 2x3 matrix.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers