scipy.sparse.coo_array.get_shape#

coo_array.get_shape()[source]#

Get shape of a sparse array/matrix.

Deprecated since version 1.11.0: This method will be removed in SciPy 1.14.0. Use X.shape instead.