The np.transpose() function permutes the dimensions of an array. For a 2D array, it effectively swaps the rows and columns. It is often used in matrix operations and data transformations.
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.