def transform_labels_three(row):
    """Takes original score (label) and converts to tertiary classes"""
    label = int(row['label'])
    if label <= 1:
        return 0
    if 1 < label <= 3:
        return 1    
    if label >= 4:
        return 2