python/pymethylprocess/MethylationDataTypes.py
def groupby(self, key):
        """Groupby for Methylation Array. Returns generator of methylation arrays grouped by key.

        Parameters
        ----------
        preprocess_sample_df
            New phenotype dataframe.
        """
        for name, df in self.pheno.groupby(key):
            yield (str(name), MethylationArray(pheno_df=self.pheno.loc[df.index],beta_df=self.beta.loc[df.index]))
Groupby for Methylation Array. Returns generator of methylation arrays grouped by key.

        Parameters
        ----------
        preprocess_sample_df
            New phenotype dataframe.
        
Groupby for Methylation Array. Returns generator of methylation arrays grouped by key.
Parameters

preprocess_sample_df
New phenotype dataframe.
Groupby for Methylation Array . Returns generator of methylation arrays grouped by key . Parameters preprocess_sample_df New phenotype dataframe .
def groupby(self, key):
        for name, df in self.pheno.groupby(key):
            yield (str(name), MethylationArray(pheno_df=self.pheno.loc[df.index],beta_df=self.beta.loc[df.index]))
def groupby ( self , key ) : for name , df in self . pheno . groupby ( key ) : yield ( str ( name ) , MethylationArray ( pheno_df = self . pheno . loc [ df . index ] , beta_df = self . beta . loc [ df . index ] ) )
Groupby for Methylation Array.
Groupby for Methylation Array .
"""Groupby for Methylation Array. Returns generator of methylation arrays grouped by key.

        Parameters
        ----------
        preprocess_sample_df
            New phenotype dataframe.
        """
self
key