-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Categorical: let unique only return used categories #8937
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
Conversation
put a release note referincing that issue. I think this is already in the API.rst ? (maybe just check doc-string too). |
re release note: under API change or bug fix? |
d49253c
to
835a356
Compare
ahh, so maybe add to
This 'changes' the API slightly so API change it is. (maybe put a short explanation), example if you feel it is waranted. |
ok, added it under api change (without an example) I don't think any more methods should be added to |
@@ -42,6 +42,9 @@ API changes | |||
|
|||
- Bug in concat of Series with ``category`` dtype which were coercing to ``object``. (:issue:`8641`) | |||
|
|||
- Bug in unique of Series with ``category`` dtype, which returned all categories regardless | |||
whether they were "used" or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a reference to the original issue here
835a356
to
acc549d
Compare
Categorical: let unique only return used categories
thanks! |
Discussion see here: #8559 (comment)