实现你想要的一种方法是:
for index, row in drop_boats.iterrows(): if row['Currency'] == 'EUR': drop_boats.loc[index, 'Price'] = row['Price'] * 1.10
您可以相应地添加其他条件。。。