get_shape — SciPy v1.15.2 Manual (original) (raw)

scipy.sparse.csr_matrix.

csr_matrix.get_shape()[source]#

Get the shape of the matrix