-
Notifications
You must be signed in to change notification settings - Fork 64
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
Dependence of derive cols #232
Comments
If one derive expression depends on another, they currently must be provided in sequential calls, as you've done here. Combining them into one derive will not work at this point in time. |
@jheer In the rolling average example in cookbook, if I add another rolling average in the same clause with different window, the result of the 2nd rolling average is just a copy of the first. .derive({
ra4: aq.rolling(d => op.average(d.x), [-4, 0]),
ra2: aq.rolling(d => op.average(d.x), [-2, 0]),
}) |
Ooh, that is definitely a bug. Thank you for catching this! |
Currently I have the following as separate
derive
since one depend on the other. I'm wondering if combining them under the samederive
will work and if there are any speedups doing so.The text was updated successfully, but these errors were encountered: