-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
Add base test for Series[ExtensionArray].value_counts with sort=False #23074
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
Comments
Add base test for Series[ExtensionArray].sort_values with sort=False Addresses pandas-dev#23074
@TomAugspurger you mention |
Sorry, that's a mistake. It should be |
OK, in that case, I would indeed say: let's remove it from the API, so then we also don't need to bother about the tests. But I think the blocker to do that is the ability to store EA in an Index? (although the current result of |
Since we now have Index[EA], is this now actionable? |
I had a bug in my
PeriodArray.sort_values
implementation w.r.t sorting.Here's a generic test that would have caught it.
We could add that to
base/methods.py
. It may have to be skipped for some like Categorical, since they return a CategoricalIndex, and this would build an object index.The text was updated successfully, but these errors were encountered: