-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: DatetimeArray.std #44020
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
DOC: DatetimeArray.std #44020
Conversation
pandas/core/arrays/datetimes.py
Outdated
|
||
Parameters | ||
---------- | ||
axis : optional, default None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
int optional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes!
Is there a policy how to annotate None? I have seen different ways:
SomeType or None, default None
SomeType, optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a policy how to annotate None?
not really
Getting
even though edit: Running |
I think it wants an 'std' entry in doc/source/reference/indexing.rst DatetimeIndex.std |
Thank you @jbrockmendel , now it seems to be happy :) |
DatetimeIndex.std
is missing a doc-string. Add doc-string toDatetimeArray.std
asDatetimeIndex
is re-usingDatetimeArray.std
.There are a few more keywords, but they seem to be not implemented (numpy-compatiblity?)
For some reason, this doc-string is needed for #43828.