How to perform multiple .where operations with the same condition efficiently #2330
-
Hi all, I have a code that currently performs
As the Thanks in advance for your insights ! Alexandre |
Beta Was this translation helpful? Give feedback.
Answered by
maartenbreddels
Jan 19, 2023
Replies: 1 comment 1 reply
-
Hi, it is not eager, so this should only evaluate Regards, Maarten |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
xeladsn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
it is not eager, so this should only evaluate
my_condition
once if you do a particular operation. Ifmy_condition
is expensive, you could consider a materialize on it.Does that help?
Regards,
Maarten