def get_feature_names_with_overrepresented_values(df, threshold):
    """
    This function returns a list of features where a single value is taken on
    by at least threshold*100 % of samples.
    :param df: (pandas.DataFrame) the dataframe to be examined
    :param threshold: (float) the ratio threshold
    :return: a list of overrepresented features
    """
    return [feature for feature in df.columns
            if any(perc >= threshold for perc in df[feature].value_counts() / df[feature].count())]