Skip to content

ENH: Add support for Index.min/max with arrow string #51401

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

Merged
merged 2 commits into from
Feb 15, 2023

Conversation

phofl
Copy link
Member

@phofl phofl commented Feb 15, 2023

Copy link
Contributor

@jrbourbeau jrbourbeau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @phofl!

Comment on lines -161 to -164
if repr(index.dtype) == "string[pyarrow]":
mark = pytest.mark.xfail(reason="ArrowStringArray has no min/max")
request.node.add_marker(mark)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@phofl phofl added Index Related to the Index class or subclasses Arrow pyarrow functionality labels Feb 15, 2023
@mroeschke mroeschke added this to the 2.0 milestone Feb 15, 2023
@mroeschke mroeschke merged commit fbefd52 into pandas-dev:main Feb 15, 2023
@mroeschke
Copy link
Member

Thanks @phofl

@phofl phofl deleted the reduce branch February 15, 2023 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Index Related to the Index class or subclasses
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Some Index reductions fail with string[pyarrow]
3 participants