scipy.sparse.lil_matrix. scipy.sparse.lil_matrix.shape# property lil_matrix.shape# Shape of the matrix