标签: python pandas
假设我有dataframe ['id'] = [1,2,3,1] 另外dataframe ['value] = [1,2,3,4]
我需要id = [1,2,3]和total = [5,2,3]作为熊猫groupby和sum的输出