Preprocessing Data Steps Python Code