[Numpy-discussion] [Matplotlib-users] Unifying numpy, scipy, and matplotlib docstring formats

Alan G Isaac aisaac at american.edu
Mon Feb 26 12:39:12 EST 2007


On Sun, 25 Feb 2007, Jouni K. Seppänen apparently wrote: 
> it is easier to type something like 
>   [0 1 0; 1 0 0; 0 0 1] 
> than 
>   array([[0,1,0],[1,0,0],[0,0,1]]) 


x = numpy.mat('0 1 0; 1 0 0; 0 0 1').A

hth,
Alan Isaac







More information about the NumPy-Discussion mailing list