Postgresql Array Agg Group By Function In Python In Hindi