🌈 搜索
📅  最后修改于: 2022-03-11 14:47:19.892000             🧑  作者: Mango
df.groupby(['Dates']).agg({ 'A':sum }) #this will take the sum of all A values on a specific date