scipy.sparse.coo_array.get_shape#

coo_array.get_shape()[source]#

Get shape of a sparse array.

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