Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

DOC: DateOffset docs missing details on weekday argument and has incorrect link for relativedelta #52650

Copy link
Copy link
Open
@Dr-Irv

Description

@Dr-Irv
Issue body actions

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

  1. Fix the link to go to the relativedelta docs, not matplotlib
  2. Document that weekday has a special type for its argument.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.