-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
CLN: simplify core.algorithms #29199
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
or is_timedelta64_dtype(original) | ||
or is_period_dtype(original) | ||
): | ||
if original.dtype.kind in ["m", "M"]: |
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.
Perhaps a silly question but wouldn't the datetimelike arrays pass through the is_extension_array_dtype
branch here?
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 period and dt64tz go through that EA branch above, td64 and dt64-naive go through here
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.
can you add a comment to that effect. (can also merge this and do that later)
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.
will comment in next pass
thanks |
This seems to have caused a small but consistent performance regression: https://pandas.pydata.org/speed/pandas/#index_object.IntervalIndexMethod.time_intersection?p-param1=1000&commits=f58b07e0 (might be worth investigating) (to be clear: just reporting here what ASV reports, didn't do any sanity check of the validity of the report) |
I'll take a look, thanks |
No description provided.