scipy.sparse.dia_array.ndim#

dia_array.ndim = 2#