[SciPy-dev] Nested arrays
Sasha
ndarray at mac.com
Fri Jan 13 21:44:21 EST 2006
> It would be literally one-line of code to turn off the returning of the
> hybrid object arrays, so I would not hesitate to do it and then see what
> kind of complaints we get :-)
Is this intended?
>>> type(array(1.0).astype(object))
<type 'float'>
Breaks printing of ma zero rank arrays:
>>> print ma.array(1.0,mask=1)
Traceback (most recent call last):
...
AttributeError: _MaskedPrintOption instance has no attribute '__float__'
-- sasha
More information about the SciPy-Dev
mailing list