python/methylnet/datasets.py
def to_methyl_array(self):
        """Convert torch dataset back into methylation array, useful because turning into torch dataset can cause the original MethylationArray beta matrix to turn into numpy array, when needs turn back into pandas dataframe.

        Returns
        -------
        MethylationArray

        """
        return MethylationArray(self.methylation_array.pheno,pd.DataFrame(self.methylation_array.beta,index=self.samples,columns=self.features),'')
Convert torch dataset back into methylation array, useful because turning into torch dataset can cause the original MethylationArray beta matrix to turn into numpy array, when needs turn back into pandas dataframe.

        Returns
        -------
        MethylationArray

        
Convert torch dataset back into methylation array, useful because turning into torch dataset can cause the original MethylationArray beta matrix to turn into numpy array, when needs turn back into pandas dataframe.
Returns


Convert torch dataset back into methylation array useful because turning into torch dataset can cause the original MethylationArray beta matrix to turn into numpy array when needs turn back into pandas dataframe . Returns
def to_methyl_array(self):
        return MethylationArray(self.methylation_array.pheno,pd.DataFrame(self.methylation_array.beta,index=self.samples,columns=self.features),'')
def to_methyl_array ( self ) : return MethylationArray ( self . methylation_array . pheno , pd . DataFrame ( self . methylation_array . beta , index = self . samples , columns = self . features ) , '' )
Convert torch dataset back into methylation array, useful because turning into torch dataset can cause the original MethylationArray beta matrix to turn into numpy array, when needs turn back into pandas dataframe.
Convert torch dataset back into methylation array useful because turning into torch dataset can cause the original MethylationArray beta matrix to turn into numpy array when needs turn back into pandas dataframe .
"""Convert torch dataset back into methylation array, useful because turning into torch dataset can cause the original MethylationArray beta matrix to turn into numpy array, when needs turn back into pandas dataframe.

        Returns
        -------
        MethylationArray

        """
self