2009/11/7 David Warde-Farley <d...@cs.toronto.edu>:
> Just to confirm my suspicions, what's the preferred way to check if a
> dtype is...

Not sure what the "official" way is, but this method works well:

> a) an integer type vs. a floating point type vs. a string type? I'm
> assuming dt.kind.

np.issubdtype(dt, float)

Regards
Stéfan
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to