Postgresql Add Two Columns In Dataframe Group By Pandas