Closed
Description
Pandas version checks
- 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/docs/dev/reference/api/pandas.tseries.offsets.DateOffset.html
Documentation problem
The docstring formatting looks wrong, some of it should probably render as code, given how it's written
This is the part of code you need to modify:
pandas/pandas/_libs/tslibs/offsets.pyx
Lines 1349 to 1367 in 2f8b190
Suggested fix for documentation
Render the code example as code
You should be able to build it by doing
python make.py --single pandas.tseries.offsets.DateOffset
from the doc
folder