ENH: Add resample_labels to preprocessing. PEP8 clean.