🌈 搜索
📅  最后修改于: 2022-03-11 14:45:21.843000             🧑  作者: Mango
mask = (df['Qty'] == 1) & (df['Price'] == 10) df.loc[mask, 'Buy'] = 1