def generate_pct_labels(values, labels):
    """
    This function takes the labels (i.e. taxonomy) and values (i.e. 50%) and creates new labels
    with both pieces of information combined.
    :param values:
    :param labels:
    :return:
    """
    labels_values = zip(labels, values)
    pct_labels = []
    for label in labels_values:
        if label[0] != '':
            # This determined if there is an integer or a float or whatever in the label. Change %i to %.2f for floats.
            pct_labels.append(label[0] + ' (%i' % label[1] + '%)')
    return pct_labels