Infer the time-index given a new dataset.
Infers the time-indices by calculating the number of days since the first date in the dataset.
- Parameters:
date_series_new (Series) – New date series.
date_series (Series) – Original date series.
time_resolution (int) – Resolution of time points in days.
- Return type:
np.ndarray
- Returns:
Time index.