Did I find the right examples for you? yes no

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

src/s/c/scipy-HEAD/scipy/sparse/csr.py   scipy(Download)
    def tolil(self):
        from lil import lil_matrix
        lil = lil_matrix(self.shape,dtype=self.dtype)
 
        self.sort_indices() #lil_matrix needs sorted column indices