[Numpy-discussion] untenable matrix behavior in SVN
Keith Goodman
kwgoodman at gmail.com
Tue Apr 29 13:40:23 EDT 2008
On Tue, Apr 29, 2008 at 10:11 AM, Alan G Isaac <aisaac at 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