Python Code For Data Preprocessing Definition