[Numpy-discussion] ndarray.T2 for 2D transpose
Irvin Probst
irvin.probst at ensta-bretagne.fr
Thu Apr 7 14:58:10 EDT 2016
On Thu, 7 Apr 2016 14:31:17 -0400, josef.pktd at gmail.com wrote:
>> So this discussion brings up that we also need an easy an obvious
>> way to make a column vector --
>>
>> maybe:
>>
>> np.col_vector(arr)
FWIW I would give a +1e42 to something like np.colvect and np.rowvect
(or whatever variant of these names). This is human readable and does
not break anything, it's just an explicit shortcut to
reshape/atleast_2d/etc.
Regards.
More information about the NumPy-Discussion
mailing list