When rebasing, you will have to add `.. currentmodule:: pandas` after this line, because now most functions in api.rst are documented from top-level pandas (#5208).