[Numpy-discussion] indexing bug in numpy r2694
kwgoodman at gmail.com
Wed Jun 28 13:04:09 CDT 2006
On 6/28/06, Pau Gargallo <pau.gargallo at gmail.com> wrote:
> i don't know why 'where' is returning matrices.
> if you use:
> >>> idx = where(y.A > 0.5)
> everything will work fine (I guess)
What about the second issue? Is this expected behavior?
array([0, 1, 2])
matrix([[ 0.63731308, 0.34282663, 0.53366791]])
I was expecting a column vector.
More information about the Numpy-discussion