(self)
Convert FeatureTable to SciPy CSR matrix.
Convert FeatureTable to SciPy CSR matrix.
Convert FeatureTable to SciPy CSR matrix .
def _sdf_to_csr(self):
        """ Convert FeatureTable to SciPy CSR matrix. """
        data = self.data.astype(np.float64)
        self.data = {
            'columns': list(data.columns),
            'index': list(data.index),
            'values': sparse.csr_matrix(data.values)
        }
def _sdf_to_csr ( self ) : data = self . data . astype ( np . float64 ) self . data = { 'columns' : list ( data . columns ) , 'index' : list ( data . index ) , 'values' : sparse . csr_matrix ( data . values ) }