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