-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: small ops cleanup #28379
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
CLN: small ops cleanup #28379
Conversation
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.
Minor question but I think lgtm
@@ -672,9 +671,6 @@ def na_op(x, y): | |||
if is_object_dtype(x.dtype): | |||
result = comp_method_OBJECT_ARRAY(op, x, y) | |||
|
|||
elif is_datetimelike_v_numeric(x, y): |
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.
The removal here is just coupled with some of the other items you've been working on to clean up the datetimelike ops right?
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.
Trying to split cleanup changes off from bigger changes in preparation for a non-trivial refactor to fix arithmetic performance. This check is no longer necessary; I think it was put in place because of older numpy behavior.
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 - let's see what others think
thanks @jbrockmendel |
@jreback problems with ci at the moment with checks and docs, you may want to hold off merging https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=17289 |
thanks @simonjayhawkins |
No description provided.