scipy.sparse
spmatrix.
set_shape
See reshape.
reshape
scipy.sparse.spmatrix.resize
scipy.sparse.spmatrix.setdiag