Data Conversion Function In Python Examples