-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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: DataFrame[Sparse] quantile fails because SparseArray has no reshape #24600
Comments
IntNA is also a catastrophe for quantile |
Do you think this will need to be pushed down to the array for ExtensionArrays? |
I think we'll want to define _try_coerce_result (and possibly _try_coerce_args, not sure) in terms of _holder._from_sequence (and possibly _holder._unbox_scalar or something resembling _scalar_from_string). |
Any news on the SparseArray' object has no attribute 'reshape' patch? |
These cases look to work on master. Could use a test
|
Tried to simplify Block.quantile by arranging for it to only have to handle 2D case by having Series.quantile dispatch to DataFrame implementation. Ended up getting failures in pandas/tests/series/test_quantile.py test_quantile_sparse
datetime64[ns, tz]
breaks in a slightly different way (presumably all ExtensionBlocks will fail):xref #24583
The text was updated successfully, but these errors were encountered: