On Tue, Jul 5, 2011 at 11:45 AM, Benjamin Root <ben.r...@ou.edu> wrote:

>
> On Tue, Jul 5, 2011 at 11:34 AM, Chris Barker <chris.bar...@noaa.gov>wrote:
>
>>
>> Speaking of which, would we make the NA value be false?
>>
>>
> The NEP currently states that accessing np.NA as a boolean will act as an
> error.  However, logical_and([NA, False]) == False and logical_or([NA,
> True]) will be special-cased.
>
> This does raise the question... how should np.any() and np.all() behave?
>

I've added a paragraph/examples for this case to the NEP in pull request 99.

-Mark


>
> Ben Root
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to