Postgres Split String Into Array In Python