-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add unique_counts()
?
#291
Comments
Can we target this for v2021? |
We'd be cutting this quite close. :) Quite close that is for getting support from other array libraries that this is something we want to add for the 2021 revision. |
I see. I know NumPy/CuPy have no problem in supporting this, but I am not sure about others. |
I'll work on this as per the discussion in today's call. |
Thanks @leofang! |
Seems very reasonable, and if we add it we should indeed add it to the |
This is a follow-up of #275. I've found
numpy.unique(x, return_counts=True)
quite useful. It allows us to build a histogram for the input arrayx
. I'd suggest us to add the following function:The text was updated successfully, but these errors were encountered: