-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
Implement min, argmin, max, argmax on ExtensionArrays? #24382
Labels
ExtensionArray
Extending pandas with custom dtypes or arrays.
Comments
i think this is a nice idea; shows a nice benefit of shared EA infrastructure |
One thing I notice though, our docs on _values_for_argsort don't mention
missing data at all. I think we may need to adjust the API there to return
a tuple of (values, mask), where the mask indicates missing values?
…On Fri, Dec 21, 2018 at 8:33 AM Jeff Reback ***@***.***> wrote:
i think this is a nice idea; shows a nice benefit of shared EA
infrastructure
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#24382 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIglNkqMNqDzj8ZLtFDBLjHGe4yT5ks5u7PE-gaJpZM4Zd_jY>
.
|
When The element of index 1 is always
Should we standardize where |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We already have
ExtensionArray.argsort
as part of the EA interface, so we should be able to to do min, argmin, max, and argmax as a composition ofargsort
and__getitem__
. Do we want to do this?The text was updated successfully, but these errors were encountered: