[Numpy-discussion] Should 0-d arrays with fields defined return a 0-d array or a scalar
Travis Oliphant
oliphant@ee.byu....
Fri Mar 30 12:26:08 CDT 2007
mark wrote:
>Does this mean, we could do something like this?
>
>a = 3
>a = array(a)
>a[ a<4 ] = 5
>
>
No. That would be a separate change.
-Travis
More information about the Numpy-discussion
mailing list