SciPy

numpy.nditer.dtypes

attribute

nditer.dtypes