add cast to index type
This commit is contained in:
parent
4427c98a4e
commit
2f3d51de0c
@ -251,7 +251,7 @@ def _process_sales(
|
|||||||
# TODO: therefore, stepping with fixed value n does not result in timedelta of n episodes
|
# TODO: therefore, stepping with fixed value n does not result in timedelta of n episodes
|
||||||
# Option A: pad data frame with zero values --> could impede forecast algorithm
|
# Option A: pad data frame with zero values --> could impede forecast algorithm
|
||||||
# Option B: calculate next index based on timedelta
|
# Option B: calculate next index based on timedelta
|
||||||
dates = monthly_sum.index
|
dates = cast(pd.DatetimeIndex, monthly_sum.index)
|
||||||
# print("dates: ", dates)
|
# print("dates: ", dates)
|
||||||
# ?? --- new: use monthly basis for time windows
|
# ?? --- new: use monthly basis for time windows
|
||||||
# baseline: 3 years - 36 months
|
# baseline: 3 years - 36 months
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user