Data Preprocessing Code In Python