DOC: add more links to the API in advanced.rst
Links were added to ``advanced.rst`` in #22671, but after reading the docs over agian, there still are some links missing and some are strangely placed. Changes consist mainly of:

* add links for first-time encounters for more methods
* make fewer links to DataFrame.xs (only keep first link
* Moved some links from headers to the first encounter in the body
