scipy.sparse.spmatrix.get_shape

spmatrix.get_shape()[source]

Get shape of a matrix.