diff --git a/doc/source/api.rst b/doc/source/api.rst index bcef5567c23e5..b785a2ce717f4 100644 --- a/doc/source/api.rst +++ b/doc/source/api.rst @@ -1,3 +1,9 @@ +.. The currentmodule is needed here because the autosummary generation of files +.. happens before reading the files / substituting the header. +.. See https://github.com/pandas-dev/pandas/pull/24232 + +.. currentmodule:: pandas + .. _api: {{ header }}