Skip to content

BUG: idxmax and idxmin raising for all na ea series #51305

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

Closed
wants to merge 1 commit into from

Conversation

phofl
Copy link
Member

@phofl phofl commented Feb 10, 2023

Not sure if NA or NaN makes more sense. I think we have a couple of ops where we return nan even for ea dtypes when the result is a scalar

@mroeschke mroeschke added the NA - MaskedArrays Related to pd.NA and nullable extension arrays label Feb 10, 2023
@jbrockmendel
Copy link
Member

xref #33941

@phofl phofl closed this Feb 23, 2023
@jbrockmendel
Copy link
Member

why closing? i was looking forward to getting #33941 resolved (i think it has implications for fixing some of our groupby xfails)

@phofl
Copy link
Member Author

phofl commented Feb 23, 2023

Did not look like there was consensus and we had tests covering the changed behavior. But can revisit if you think we should change it

@jbrockmendel
Copy link
Member

Let's try to discuss the desired behavior here on the next dev call? I think this is an area where we need to Just Make A Decision.

@phofl phofl deleted the 51276 branch August 28, 2023 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NA - MaskedArrays Related to pd.NA and nullable extension arrays
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: pd.Series idxmax raises ValueError instead of returning <NA> when all values are <NA>
3 participants