(self)
return sorted(itertools.chain(*result))
get_active_attributes returns the attributes to be modeled.
        These attributes correspond only to attributes that contain at least
        one potentially erroneous cell.
get_active_attributes returns the attributes to be modeled.
        These attributes correspond only to attributes that contain at least
        one potentially erroneous cell.
get_active_attributes returns the attributes to be modeled . These attributes correspond only to attributes that contain at least one potentially erroneous cell .
def get_active_attributes(self):
        """
        get_active_attributes returns the attributes to be modeled.
        These attributes correspond only to attributes that contain at least
        one potentially erroneous cell.
        """
        query = 'SELECT DISTINCT attribute as attribute FROM {}'.format(AuxTables.dk_cells.name)
        result = self.ds.engine.execute_query(query)
        if not result:
            raise Exception("No attribute contains erroneous cells.")
        # Sort the active attributes to maintain the order of the ids of random variable.
        return sorted(itertools.chain(*result))
def get_active_attributes ( self ) : query = 'SELECT DISTINCT attribute as attribute FROM {}' . format ( AuxTables . dk_cells . name ) result = self . ds . engine . execute_query ( query ) if not result : raise Exception ( "No attribute contains erroneous cells." ) # Sort the active attributes to maintain the order of the ids of random variable. return sorted ( itertools . chain ( * result ) )