def _with_data(self,data,copy=True):
if copy:<EOL><INDENT>return coo_matrix((data, (self.row.copy(), self.col.copy())),<EOL>shape=self.shape, dtype=data.dtype)<EOL><DEDENT>else:<EOL><INDENT>return coo_matrix((data, (self.row, self.col)),<EOL>shape=self.shape, dtype=data.dtype)<EOL><DEDENT>
Returns a matrix with the same sparsity structure as self,
        but with different data.  By default the index arrays
        (i.e. .row and .col) are copied.