🌈 搜索
📅  最后修改于: 2022-03-11 14:47:10.456000             🧑  作者: Mango
df['new_column'] = df.groupby(['group_column'])['sum_column'].transform('sum')