SciPy

scipy.sparse.coo_matrix.getformat

coo_matrix.getformat()[source]

Format of a matrix representation as a string.