scipy.sparse.lil_matrix.

ndim#

property lil_matrix.ndim#