Панды создают столбец, если равны

df['color'] = ['red' if x == 'Z' else 'green' for x in df['Set']]
Clumsy Cockroach