get_shape — SciPy v1.15.2 Manual (original) (raw)

scipy.sparse.lil_matrix.

lil_matrix.get_shape()[source]#

Get the shape of the matrix