-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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 (string dtype): fix handling of string dtype in interchange protocol #60333
BUG (string dtype): fix handling of string dtype in interchange protocol #60333
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.
Looks good, thanks!
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 should fix the test failure I think)
@@ -410,7 +407,6 @@ def test_empty_string_column(): | |||
tm.assert_frame_equal(df, result) | |||
|
|||
|
|||
@pytest.mark.xfail(using_string_dtype(), reason="TODO(infer_string)") | |||
def test_large_string(): | |||
# GH#56702 | |||
pytest.importorskip("pyarrow") |
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.
Just below here (can't comment on the line), we still hardcode to object dtype, that should be
expected = pd.DataFrame({"a": ["x"]}, dtype="str")
Thanks! |
…ing dtype in interchange protocol
…of string dtype in interchange protocol) (#60347) Backport PR #60333: BUG (string dtype): fix handling of string dtype in interchange protocol Co-authored-by: William Ayd <[email protected]>
No description provided.