On Jan 4, 2008 10:01 AM, Pierre GM [EMAIL PROTECTED] wrote:
On Thursday 03 January 2008 15:49:45 Alexander Michael wrote:
Working with the new MaskedArray, I noticed the following differences
with numpy.array behavior:
masked_array([1, 2, 3], mask=True).min()
2147483647
That's a
On Friday 04 January 2008 10:27:32 Alexander Michael wrote:
Hmm. I liked the base ndarray behavior as it makes a lot of sense to
me and provides an easy default that avoids needing to check the
result between steps.
I must admit I have troubles conceptualizing the product of an empty array,
Working with the new MaskedArray, I noticed the following differences
with numpy.array behavior:
masked_array([1, 2, 3], mask=True).min()
2147483647
array([]).min()
Traceback (most recent call last):
File stdin, line 1, in module
ValueError: zero-size array to ufunc.reduce without identity