Postgresql Text To Integer Format In Python To Have 0