scipy.sparse.lil_array.ndim#

lil_array.ndim = 2#