isnan

Andre Alexander Bell post at andre-bell.de
Tue Oct 12 23:36:17 CEST 2010


On 10/12/2010 06:22 PM, Ian Kelly wrote:
> That's the inverse of what the OP wanted.  The full solution:
> 
>>>> A[~isnan(B)]
> array([2, 3])

Indeed, you are right Ian. Thanks for pointing that out. :)
Sorry for the mistake.

Regards


Andre



More information about the Python-list mailing list