Python Different Data Types In Postgresql