🌈 搜索
📅  最后修改于: 2022-03-11 14:45:17.445000             🧑  作者: Mango
df.loc[df['dollars_spent'] > 0, 'purchase'] = 1