DOC: Improve compiler installation instructions
- [x] further improves  #27717 - Currently the 'Contributing to pandas', 'Installing a C compiler' section provides links to pages that DO NOT give information about how to install a C compiler.

Note:
- For Linux, we have recommended to install a group of packages, along with GCC:
``sudo apt-get install build-essential`` and ``yum groupinstall "Development Tools"`` whereas in the [sklearn installation page](https://scikit-learn.org/stable/developers/advanced_installation.html#linux) have recommended to install GCC with ``sudo apt-get install build-essential`` but to install individually for Fedora etc: `sudo yum -y install gcc gcc-c++``

Which would be better?




