🌈 搜索
📅  最后修改于: 2022-03-11 14:55:26.009000             🧑  作者: Mango
df['color'] = np.where(df['Set']=='Z', 'green', 'red')