[Numpy-discussion] ndarray.T2 for 2D transpose
contrebasse at gmail.com
Thu Apr 7 04:59:44 EDT 2016
Alan Isaac <alan.isaac <at> gmail.com> writes:
> But underlying the proposal is apparently the
> idea that there be an attribute equivalent to
> `atleast_2d`. Then call it `d2p`.
> You can now have `a.d2p.T` which is a lot
> more explicit and general than say `a.T2`,
> while requiring only 3 more keystrokes.
How about a.T2d or a .T2D ?
More information about the NumPy-Discussion