Numpy As Array Functions Postgres Db