Postgresql Group By Concatenate Python Pandas Dataframe Merge