Postgresql Group By Concatenate Python Pandas