def get_labels ( labels ) : label_u = unique_labels ( labels ) label_u_line = [ i + "_line" for i in label_u ] return label_u , label_u_line
python code remove duplicate labels
Create unique labels .
def get_labels(labels):
    """Create unique labels."""
    label_u = unique_labels(labels)
    label_u_line = [i + "_line" for i in label_u]
    return label_u, label_u_line