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