scipy.sparse.sparray.

ndim#

property sparray.ndim#