Data Preprocessing In Python Code