[Numpy-discussion] numpy.nansum() behavior in 1.3.0

Alan G Isaac aisaac@american....
Mon Jun 1 15:06:42 CDT 2009


On 6/1/2009 3:38 PM josef.pktd@gmail.com apparently wrote:
> Here's a good one:
> 
>>>> np.isnan([]).all()
> True
>>>> np.isnan([]).any()
> False


 >>> all([])
True
 >>> any([])
False

Cheers,
Alan Isaac



More information about the Numpy-discussion mailing list