-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
TYP: mostly datetimelike #36696
TYP: mostly datetimelike #36696
Conversation
@@ -421,7 +427,7 @@ def is_full(self) -> bool: | |||
""" | |||
if len(self) == 0: | |||
return True | |||
if not self.is_monotonic: | |||
if not self.is_monotonic_increasing: |
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.
Does this have any behavioral changes?
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.
No, just more explicit.
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.
lgtm
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.
question
pandas/core/indexes/datetimelike.py
Outdated
@@ -157,6 +157,7 @@ def __contains__(self, key: Any) -> bool: | |||
res = self.get_loc(key) | |||
except (KeyError, TypeError, ValueError): | |||
return False | |||
return True |
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.
what is this?
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.
i think this and the FIXME weren't meant to be committed; will fix
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.
updated + all-but-arm-green
looks good, is this compat with what we merged in : #36742 maybe rebase just to be sure (and merge on green). |
Thanks @jbrockmendel |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff