SciPy

scipy.sparse.csr_matrix.getformat

csr_matrix.getformat()[source]

Format of a matrix representation as a string.