I went to look up the source to np.transpose ( source ) and the definition seems circular?
def transpose(a, axes=None):
try:
transpose = a.transpose
except AttributeError:
return _wrapit(a, 'transpose', axes)
return transpose(axes)
If all transpose(a) does is call a.transpose then how do we look up a.transpose?
What part of the code is doing the transposition? All I see is referral to another transpose function.
Here's the code for
_wrapit: