Numpy Array Aggregate Postgresql Vs Sqlite