SciPy

scipy.sparse.dia_matrix.getformat

dia_matrix.getformat()[source]