From 7ea1d53de1eed362488f005e436740aff27639b3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 10 Nov 2023 07:11:19 +0100 Subject: [PATCH] Update method to use ffill instead of fillna(method='ffill') closes #384 --- technical/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technical/util.py b/technical/util.py index b93c8c97..6bf6a3b7 100644 --- a/technical/util.py +++ b/technical/util.py @@ -105,7 +105,7 @@ def resampled_merge(original: DataFrame, resampled: DataFrame, fill_na=True): dataframe = dataframe.drop(f"resample_{resampled_int}_date_merge", axis=1) if fill_na: - dataframe.fillna(method="ffill", inplace=True) + dataframe = dataframe.ffill() return dataframe