-
Notifications
You must be signed in to change notification settings - Fork 46
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
GroupBy #105
Comments
Writing to follow up on this. |
I don't really know about the groupby you are referring to. PRs and more explanation are welcome. |
@sirinath can you give an example in Julia of what the input and output would be. In particular would we return a Dictionary mapping from the group key(?) to the Signal with the corresponding values on it? |
You can have a |
If you can give a vague example in Julia using Reactive
What do you want to be able to do with odds_and_evens from here? |
|
ok, any other functions you need e.g. |
why would filter not be enough? |
There are many keys. Above is a special case where you can use filter when key is boolean. |
|
This should a Fan Out pattern where you start with 1 signal and get n signals corresponding to n keys. You have to use n filters to achieve the same. Say if n = 8000 the overhead of all the filtering maybe more greater. The code shown above you get 1 signal which has many keys in the stream. Not one signal for each key. |
Ok, makes sense. Thanks for clarifying! |
Ability to groupby is very much needed.
The text was updated successfully, but these errors were encountered: