scipy.sparse.spmatrix.shape

spmatrix.shape

Get shape of a matrix.