Python Numerical Data Preprocessing