def convert_labels(df, columns=['label'], reverse=False):
    """ Convert labels in provided columns to numeric values (or back to text). Edits the dataframe in place. """
    if reverse:
        labels_vals = {
            0: 'Refuted',
            1: 'Supported',
            2: 'NotEnoughInfo'
        }
    else:
        labels_vals = {
            'Refuted': 0,
            'Supported': 1, 
            'NotEnoughInfo': 2    
        }

    for col in columns:
        df[col] = df[col].apply(lambda x: labels_vals[x])
    return df