scipy.sparse.dia_array.

ndim#

property dia_array.ndim#