-
Notifications
You must be signed in to change notification settings - Fork 991
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
GForce optimize weighted.mean #3977
Comments
I think it should be doable. Several other |
Yes, that's exactly what I was trying to say. It'd be great if it can be supported since I use a lot, one |
+1 for this. The current workaround is to first take a product and assign it a new column, then doing the sum in a subsequent by-group call. |
I took a look into this and we have basically two options.
Advantages / DisadvantagesOption 2 is easy maintenance since it dispatches everything onto Benchmarking both, it turns out that option 2 is also faster than option 1 (at least with a naive implementation similar to |
I'm not sure if it is possible to GForce optimize
weighted.mean
? It's quite different from existing GForce functions because it takes two variables.The text was updated successfully, but these errors were encountered: