set_shape scipy.sparse.csr_matrix. csr_matrix.set_shape(shape) Set the shape of the matrix in-place Назадrint