We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
arr = np.random.randn(1000) < 0 ser = pd.Series(arr) ser.quantile(0.5) # <- raises gb = ser.groupby([1] * len(ser)) gb.quantile(0.5) # <- does not raise
Same behavior for the nullable boolean dtypes.
This should be the same for NDFrame and GroupBy. I'm fine with either allowing or raising as long as we're consistent.
The text was updated successfully, but these errors were encountered:
@mroeschke @phofl preferences here? The mismatch is a blocker in fixing GroupBy.quantile perf #51385.
Sorry, something went wrong.
Looks like Series behavior raises the same error as the numpy behavior. I'm slightly leaning to matching that behavior.
Plus if this was supported, shouldn't the result be bool/boolean (gb looks to return float)?
I think I'd also prefer raising
+1 on raising.
Successfully merging a pull request may close this issue.
Same behavior for the nullable boolean dtypes.
This should be the same for NDFrame and GroupBy. I'm fine with either allowing or raising as long as we're consistent.
The text was updated successfully, but these errors were encountered: