Question: What does the np . transpose ( ) function do to a 2 D array? It reverses the elements of the array. It changes the
What does the nptranspose function do to a D array?
It reverses the elements of the array.
It changes the data type of the array.
It flattens the array into D
It swaps the rows and columns of the array. Like it is being flipped on the side.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
