[Numpy-discussion] dtype truth value

Matthew Brett matthew.brett at gmail.com
Sat Sep 23 07:36:58 EDT 2006


Hi,

Forgive my ignorance, but why is this?

In [1]:from numpy import *

In [2]:if not dtype('<f8'):
   ...:    print 'Truth value is no'
   ...:
   ...:
Truth value is no

Best,

Matthew




More information about the NumPy-Discussion mailing list