[Numpy-discussion] dtype 'groups'

David Warde-Farley dwf@cs.toronto....
Fri Nov 6 18:10:17 CST 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