SciPy

scipy.sparse.lil_matrix.getformat

lil_matrix.getformat()[source]

Format of a matrix representation as a string.