[Numpy-discussion] Two bugs in numpy 0.9.2 and a suggestion.

Alan G Isaac aisaac at american.edu
Thu Jan 12 06:54:03 CST 2006


Paulo wrote:
>> Now the suggestion. What about adding a "transpose" property (in the 
>> Python parlance) to ndarray objects? I would call it "t". 


On Thu, 12 Jan 2006, "Colin J. Williams" apparently wrote: 
> Or "T" to distinguish properties, 

You mean like this?  Or something else?
Alan Isaac

>>> import numpy as N
>>> x = N.mat([[1,2,3],[4,5,6]])
>>> y = x.T
>>> y
matrix([[1, 4],
       [2, 5],
       [3, 6]])






More information about the Numpy-discussion mailing list