Pandas version checks

  • [x] I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_hdf.html

Documentation problem

  1. Section "Returns" is missing.
  2. Section "Raises" is missing.

Said differently, in the HTML source, "Parameters" is a defined term, but "Returns" and "Raises" are not in the HTML source.

  <dl class="py method">
    <dt class="sig sig-object py" id="pandas.DataFrame.to_hdf">
    ...
    <dd>
    ... 
      <dt class="field-odd">Parameters
...

Suggested fix for documentation

The data for those sections probably exists, but it isn't being published by the automated process. I tried to figure out where the rst file lives, but I gave up after half an hour.