Python Postgres Insert Multiple Rows Into Word