I am using sklearn's IsolationForest model to detect anomalies on a time-series dataset. One of the features is date with the format MM-YYYY, the other features are numeric values. What is the best way to preprocess the date data? I currently convert with pandas tooordinal, but I am not sure if this is the correct way for the IF use case. https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.toordinal.html Continue reading...