-
-
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/TST (string dtype): raise proper TypeError in interpolate #60637
Conversation
if not using_infer_string: | ||
assert np.shares_memory(df["D"]._values, dvalues) |
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.
With EAs, I don't think there can be any expectation that this is holds.
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.
if not using_infer_string: | |
assert np.shares_memory(df["D"]._values, dvalues) | |
assert tm.shares_memory(df["D"]._values, dvalues) |
If we use our own helper that can handle EAs, it actually still appears to be 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.
Thanks, looks good!
if not using_infer_string: | ||
assert np.shares_memory(df["D"]._values, dvalues) |
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.
if not using_infer_string: | |
assert np.shares_memory(df["D"]._values, dvalues) | |
assert tm.shares_memory(df["D"]._values, dvalues) |
If we use our own helper that can handle EAs, it actually still appears to be true
Thanks @rhshadrach |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
…-dev#60637) * TST(string dtype): Resolve xfail for interpolate * Adjust arrow tests * Fixup for NumPyExtensionArray * Use tm.shares_memory (cherry picked from commit 5e50d3f)
Manual backport -> #60652 |
…terpolate (#60637) (#60652) BUG/TST (string dtype): raise proper TypeError in interpolate (#60637) * TST(string dtype): Resolve xfail for interpolate * Adjust arrow tests * Fixup for NumPyExtensionArray * Use tm.shares_memory (cherry picked from commit 5e50d3f) Co-authored-by: Richard Shadrach <[email protected]>
…-dev#60637) * TST(string dtype): Resolve xfail for interpolate * Adjust arrow tests * Fixup for NumPyExtensionArray * Use tm.shares_memory
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.