prep_for_anomaly function

Prepare Data for Anomaly Detection