mirror of
https://github.com/wassname/pytorch-ts.git
synced 2026-10-04 13:00:46 +08:00
bigger MAX_WINDOW
This commit is contained in:
1 parent
8cca0b33cb
commit
4d69eaf932
1 file changed
+3
-3
@@ -30,9 +30,9 @@ from pandas.tseries.holiday import (
|
||||
)
|
||||
from pandas.tseries.offsets import DateOffset, Day, Easter
|
||||
|
||||
MAX_WINDOW = (
|
||||
183 # This is 183 to cover half a year (in both directions), also for leap years
|
||||
)
|
||||
# This is 183 to cover half a year (in both directions), also for leap years
|
||||
# and half a week to cover holidays offset by a week
|
||||
MAX_WINDOW = 183 + 4
|
||||
|
||||
|
||||
def distance_to_holiday(holiday):
|
||||
|
||||
Reference in new issue
Block a user