Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/s/c/scipy-HEAD/scipy/sparse/csr.py   scipy(Download)
    def tocsr(self, copy=False):
        if copy:
            return self.copy()
        else:
            return self

src/s/c/scipy-HEAD/scipy/sparse/bsr.py   scipy(Download)
    def tobsr(self,blocksize=None,copy=False):
        if blocksize not in [None, self.blocksize]:
            return self.tocsr().tobsr(blocksize=blocksize)
        if copy:
            return self.copy()

src/s/c/scipy-HEAD/scipy/sparse/csc.py   scipy(Download)
    def tocsc(self, copy=False):
        if copy:
            return self.copy()
        else:
            return self