Open
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/pandas-docs/stable/reference/api/pandas.tseries.offsets.DateOffset.html
Documentation problem
First, the weekday
argument has a type that comes from relativedelta
that is class weekday
Second, the link to dateutil.relativedelta.relativedelta is going to matplotlib
, but it really should go to dateutil
: https://dateutil.readthedocs.io/en/stable/relativedelta.html
Suggested fix for documentation
- Fix the link to go to the
relativedelta
docs, not matplotlib - Document that
weekday
has a special type for its argument.