From 5c7d89db4583bfa8cf628235f4d566d104776278 Mon Sep 17 00:00:00 2001 From: Richard Shadrach <45562402+rhshadrach@users.noreply.github.com> Date: Sun, 22 Oct 2023 15:18:53 -0400 Subject: [PATCH] DOC: Change core paths to api.typing in URLs (#55626) --- doc/source/reference/groupby.rst | 4 ++-- doc/source/reference/resampling.rst | 2 +- doc/source/reference/window.rst | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/source/reference/groupby.rst b/doc/source/reference/groupby.rst index 771163ae1b0bc..fe02fa106f941 100644 --- a/doc/source/reference/groupby.rst +++ b/doc/source/reference/groupby.rst @@ -5,7 +5,7 @@ ======= GroupBy ======= -.. currentmodule:: pandas.core.groupby +.. currentmodule:: pandas.api.typing :class:`pandas.api.typing.DataFrameGroupBy` and :class:`pandas.api.typing.SeriesGroupBy` instances are returned by groupby calls :func:`pandas.DataFrame.groupby` and @@ -40,7 +40,7 @@ Function application helper NamedAgg -.. currentmodule:: pandas.core.groupby +.. currentmodule:: pandas.api.typing Function application -------------------- diff --git a/doc/source/reference/resampling.rst b/doc/source/reference/resampling.rst index edbc8090fc849..2b52087cec280 100644 --- a/doc/source/reference/resampling.rst +++ b/doc/source/reference/resampling.rst @@ -5,7 +5,7 @@ ========== Resampling ========== -.. currentmodule:: pandas.core.resample +.. currentmodule:: pandas.api.typing :class:`pandas.api.typing.Resampler` instances are returned by resample calls: :func:`pandas.DataFrame.resample`, :func:`pandas.Series.resample`. diff --git a/doc/source/reference/window.rst b/doc/source/reference/window.rst index 14af2b8a120e0..75faf69583cfe 100644 --- a/doc/source/reference/window.rst +++ b/doc/source/reference/window.rst @@ -17,7 +17,7 @@ calls: :func:`pandas.DataFrame.ewm` and :func:`pandas.Series.ewm`. Rolling window functions ------------------------ -.. currentmodule:: pandas.core.window.rolling +.. currentmodule:: pandas.api.typing .. autosummary:: :toctree: api/ @@ -44,7 +44,7 @@ Rolling window functions Weighted window functions ------------------------- -.. currentmodule:: pandas.core.window.rolling +.. currentmodule:: pandas.api.typing .. autosummary:: :toctree: api/ @@ -58,7 +58,7 @@ Weighted window functions Expanding window functions -------------------------- -.. currentmodule:: pandas.core.window.expanding +.. currentmodule:: pandas.api.typing .. autosummary:: :toctree: api/ @@ -85,7 +85,7 @@ Expanding window functions Exponentially-weighted window functions --------------------------------------- -.. currentmodule:: pandas.core.window.ewm +.. currentmodule:: pandas.api.typing .. autosummary:: :toctree: api/