scipy.sparse.dia_array.shape#

property dia_array.shape#

The shape of the array.

Note that, starting in SciPy 1.14.0, this property will no longer be settable. To change the array shape, use X.reshape instead.