diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 1b7c02cd7a05b..eb4c5c07af2c4 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6490,6 +6490,7 @@ def fillna( return result.__finalize__(self, method="fillna") @final + @doc(klass=_shared_doc_kwargs["klass"]) def ffill( self: FrameOrSeries, axis=None, @@ -6512,6 +6513,7 @@ def ffill( pad = ffill @final + @doc(klass=_shared_doc_kwargs["klass"]) def bfill( self: FrameOrSeries, axis=None,