-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TYP: datetimelike #41830
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: datetimelike #41830
Conversation
jbrockmendel
commented
Jun 5, 2021
- closes #xxxx
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
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 @simonjayhawkins
@@ -178,9 +180,9 @@ def test_dt_accessor_api_for_categorical(self): | |||
get_ops = lambda x: x._datetimelike_ops | |||
|
|||
test_data = [ | |||
("Datetime", get_ops(DatetimeIndex), s_dr, c_dr), | |||
("Datetime", get_ops(DatetimeArray), s_dr, c_dr), |
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.
shouldn't the index accessors work as well here (eg the intent of the test is that)
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.
yah, its just the lists DatetimeIndex._foo_ops
that we stop inheriting