numpy.ndarray.swapaxes ====================== .. currentmodule:: numpy .. automethod:: ndarray.swapaxes