-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BUG: reindex with expansion and non-nanosecond dtype #53505
Conversation
try: | ||
orig_is_nat = np.isnat(fill_value) | ||
except TypeError: | ||
pass |
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.
this seems fine, but is making me wonder if we should remove the caching on maybe_promote
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.
It appears this was done for performance reasons(?), but it certainly makes this a little more complex
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.
definitely for perf reasons, im pretty sure for ArrayManager
…on-nanosecond dtype) (#53748) Backport PR #53505: BUG: reindex with expansion and non-nanosecond dtype Co-authored-by: Matthew Roeschke <[email protected]>
* BUG: reindex with expansion and non-nanosecond dtype * Restrict to timelike types * Check earlier * handle NA * handle NA * Better check
* BUG: reindex with expansion and non-nanosecond dtype * Restrict to timelike types * Check earlier * handle NA * handle NA * Better check
mode
is performed ontimedelta64
dtype in pandas-2.0 #53497 (Replace xxxx with the GitHub issue number)doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.