Python Array Insert Value Into Table