Add base test for Series[ExtensionArray].value_counts with sort=False #23074
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
ExtensionArray
Extending pandas with custom dtypes or arrays.
Testing
pandas testing functions or related to the test suite
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: