[Numpy-discussion] untenable matrix behavior in SVN

Keith Goodman kwgoodman@gmail....
Tue Apr 29 12:40:23 CDT 2008

On Tue, Apr 29, 2008 at 10:11 AM, Alan G Isaac <aisaac@american.edu> wrote:
> indexing should should work just like ndarray indexing,
> except that when it produces a 2d result then a matrix
> is returned.  (This means giving up the current behavior
> of ``x[0,:]``.)

I often use x[i,:] and x[:,i] where x is a matrix and i is a scalar. I
hope this continues to return a matrix.

More information about the Numpy-discussion mailing list