🌈 搜索
📅  最后修改于: 2022-03-11 14:46:22.675000             🧑  作者: Mango
df.loc[df['age1'] - df['age2'] > 0, 'diff'] = df['age1'] - df['age2']