Sql Year Data Type Conversion Errors In Python Programming