scipy.sparse.spmatrix.get_shape

spmatrix.get_shape()[source]

Get the shape of the matrix