scipy.sparse.dia_array.

scipy.sparse.dia_array.ndim

property dia_array.ndim