-
Notifications
You must be signed in to change notification settings - Fork 187
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
d3.index(iterable, …keys)? #136
Comments
Maybe the word could be smth like "associate" or "dict / dictionary". (I tend to rollup with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sometimes you want something like d3.group, but with the expectation that there will be a single value rather than multiple values per unique key. You can do this using d3.rollup as
but this is a little verbose, and it will silently ignore additional values if the keys happen to be non-unique. So how about a stricter shorthand?
Where:
Is d3.index too generic a name? Maybe d3.groupUnique?
(See also the previous d3.uniques proposal #118.)
The text was updated successfully, but these errors were encountered: