import pandas as pd
df =pd.DataFrame([[1,2,4],[4,5,6],[1,3,4]],columns=['a','b','c'])
print(df)
print(df.groupby('a',as_index=False).sum())