def index_to_label(index, labels_order):
    """
    Returns label at index

    Arguments:
        index (int): index of a label
        labels_order (list): a list of labels with each label appearing only
            once indicating which index to encode each label as.
    """
    return labels_order[int(index)]
