-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Improve docstring of Timedelta.delta #21135
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
Conversation
@@ -770,7 +799,48 @@ cdef class _Timedelta(timedelta): | |||
|
|||
@property | |||
def resolution(self): | |||
""" return a string representing the lowest resolution that we have """ | |||
""" |
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.
Isn't this already a part of #21122?
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...
I am not sure why that is in there.
I created separate branches for each of the changes I am proposing to:
- delta
- resolution
- nanoseconds
etcetera, but the commit stream above seems to be sucking all of them into this PR.
super confused.
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.
Hmm this should just reflect what you have locally - any chance you merged your branches there accidentally?
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.
when creating a new branch, do it off of upstream/master (or if you keep a local master then off of this). each branch should be independent.
you will need to revert the resolution part of this change (as its in the other PR). or can just close that one and do it here is ok too)
@@ -770,7 +799,48 @@ cdef class _Timedelta(timedelta): | |||
|
|||
@property | |||
def resolution(self): | |||
""" return a string representing the lowest resolution that we have """ | |||
""" |
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.
when creating a new branch, do it off of upstream/master (or if you keep a local master then off of this). each branch should be independent.
you will need to revert the resolution part of this change (as its in the other PR). or can just close that one and do it here is ok too)
i did some looking at how to |
git diff upstream/master -u -- "*.pyx" | flake8 --diff