feat: linear imputation in Resample (#19393)

(cherry picked from commit a39dd4493e)
This commit is contained in:
Yongjie Zhao
2022-03-28 22:30:45 +08:00
committed by Ville Brofeldt
parent 56e78b9ef7
commit 5f2ffb3ba4
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 = ", "