SciPy

scipy.sparse.dia_matrix.dtype

property dia_matrix.dtype