-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Add offsets methods to the API reference #24436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'd be good to at least add the methods and attributes for |
I don't think the redundancy is great, but it's probably the best in this case. If we don't add the attributes/methods for all offset classes, we have two problems:
Not sure if there is an option with the best of both worlds. May be we can render |
Got it. I would be okay with the redundancy to maintain doc stability and/or avoid any hacky solution with rendering. Moreover, I think some offsets have special methods of their own that would be difficult to render-control for, so I think the easiest thing is to display all methods and attributes. |
i think we have an open issue about this FYI |
I search for it, but I couldn't find the issue. Let me know if you do, we can close this. I'll take care of it. |
The methods of classes in
pandas.tseries.offsets
are not in the API reference. Not sure if there is a reason for it, or it just needs to be implemented.We have the classes added to:
https://pandas-docs.github.io/pandas-docs-travis/api.html#date-offsets
But most of the attributes and methods are not in
api.rst
, so their pages are not generated. See for example:https://pandas-docs.github.io/pandas-docs-travis/generated/pandas.tseries.offsets.MonthEnd.html#pandas.tseries.offsets.MonthEnd
Can they simply be added? Or is there a reason not to, or it's more complex than it looks like?
CC: @jbrockmendel @mroeschke
The text was updated successfully, but these errors were encountered: