diff --git a/pandas/core/window/doc.py b/pandas/core/window/doc.py index 6e188531a0502..b1ff53e9d1a44 100644 --- a/pandas/core/window/doc.py +++ b/pandas/core/window/doc.py @@ -24,10 +24,10 @@ def create_section_header(header: str) -> str: template_see_also = dedent( """ - Series.{window_method} : Calling {window_method} with Series data. - DataFrame.{window_method} : Calling {window_method} with DataFrames. - Series.{agg_method} : Aggregating {agg_method} for Series. - DataFrame.{agg_method} : Aggregating {agg_method} for DataFrame.\n + pandas.Series.{window_method} : Calling {window_method} with Series data. + pandas.DataFrame.{window_method} : Calling {window_method} with DataFrames. + pandas.Series.{agg_method} : Aggregating {agg_method} for Series. + pandas.DataFrame.{agg_method} : Aggregating {agg_method} for DataFrame.\n """ ).replace("\n", "", 1)