Preprocess The Data Python