The task description says "the indices of each element are switched". This is not true in general. Calling transpose() with None as axes parameter REVERSES the indices. This is a big difference, because a simple "switch" is not possible in case of a 3-D array. With this lack of explanations it's hard and frustrating to solve the task for the array "c".
The task description says "the indices of each element are switched". This is not true in general. Calling transpose() with None as axes parameter REVERSES the indices. This is a big difference, because a simple "switch" is not possible in case of a 3-D array. With this lack of explanations it's hard and frustrating to solve the task for the array "c".