[Numpy-discussion] dtype truth value

Matthew Brett matthew.brett at gmail.com
Sat Sep 23 06:36:58 CDT 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