-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Labels
API extensionAdds new functions or objects to the API.Adds new functions or objects to the API.
Milestone
Description
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 array x
. I'd suggest us to add the following function:
def unique_counts(x, /):
"""
return a tuple of two arrays (unique values and counts)
"""
Metadata
Metadata
Assignees
Labels
API extensionAdds new functions or objects to the API.Adds new functions or objects to the API.