DOC fix collapsing using new bootstrap v5 API
The dev version of the documentation is broken: the collapse buttons of the table in the "Intro to pandas" are not responsive.

This is linked to an update of the `pydata-sphinx-theme` from 0.11 to 0.13 (#53029) that uses Bootstrap v5 that does not rely anymore on jQuery and renamed `data-toogle` and `data-target` to `data-bs-toogle` and `data-bs-target`, respectively.

In addition, `badge-dark` is deprecated in favour of `badge-dark`. However, `bg-dark` does work well with dark theme and `bg-secondary` does a better job.

This is a quick fix knowing that a change to `sphinx-design` would allow to removal the pure HTML file.
/preview Website preview of this PR available at: https://pandas.pydata.org/preview/53209/ /preview Website preview of this PR available at: https://pandas.pydata.org/preview/53209/ /preview Website preview of this PR available at: https://pandas.pydata.org/preview/53209/ Thanks @glemaitre 