[Numpy-discussion] dtype 'groups'

David Warde-Farley dwf at cs.toronto.edu
Fri Nov 6 19:10:17 EST 2009


Just to confirm my suspicions, what's the preferred way to check if a  
dtype is...

a) an integer type vs. a floating point type vs. a string type? I'm  
assuming dt.kind.
b) a compound type vs. a builtin dtype? I'm assuming dt.isbuiltin.

Can these properties be relied upon as a stable part of the API that  
is unlikely to change?

David



More information about the NumPy-Discussion mailing list