摘要: 方法1:df.loc[conditions]=row.values,逐行地进行整行替换 for row in df.iterrows(): row['given_amount']=row['amount']; row['given_percent']=1 row['remain_amount']=0 阅读全文
posted @ 2020-02-25 15:28 morein2008 阅读(1229) 评论(0) 推荐(0) 编辑