scipy.sparse.spmatrix. set_shape# spmatrix.set_shape(shape)[Quelle]# Setzt die Form der Matrix inplace