Skip to content
Andrzej Pronobis edited this page Jun 1, 2017 · 2 revisions

Numpy

Checking Array Types

np.issubdtype(a.dtype, np.floating)
np.issubdtype(a.dtype, np.integer)
Clone this wiki locally