scipy.sparse.csc_matrix.set_shape#

csc_matrix.set_shape(shape)[source]#

Set the shape of the matrix in-place