scipy.sparse.spmatrix.

scipy.sparse.spmatrix.shape#

свойство spmatrix.shape#

Форма матрицы