feat: linear imputation in Resample (#19393)

This commit is contained in:
Yongjie Zhao
2022-03-28 22:30:45 +08:00
committed by GitHub
parent 6b9113a17b
commit a39dd4493e
4 changed files with 56 additions and 0 deletions

View File

@@ -92,6 +92,8 @@ PROPHET_TIME_GRAIN_MAP = {
"P1W/1970-01-04T00:00:00Z": "W",
}
RESAMPLE_METHOD = ("asfreq", "bfill", "ffill", "linear", "median", "mean", "sum")
FLAT_COLUMN_SEPARATOR = ", "