neurosynth/base/dataset.py
def _csr_to_sdf(self):
        """ Inverse of _sdf_to_csr(). """
        self.data = pd.DataFrame(self.data['values'].todense(),
                                 index=self.data['index'],
                                 columns=self.data['columns']).to_sparse()
def _csr_to_sdf(self):
        """ Inverse of _sdf_to_csr(). """
        self.data = pd.DataFrame(self.data['values'].todense(),
                                 index=self.data['index'],
                                 columns=self.data['columns']).to_sparse()
def _csr_to_sdf ( self ) : self . data = pd . DataFrame ( self . data [ 'values' ] . todense ( ) , index = self . data [ 'index' ] , columns = self . data [ 'columns' ] ) . to_sparse ( )
Inverse of _sdf_to_csr().
Inverse of _sdf_to_csr () .