Understanding Lazy Evaluation in Polars | by Wei-Meng Lee | Jul, 2022
Understand what is eager and lazy execution and how you can use lazy execution to optimize your queriesPhoto by Hans-Jurgen Mager on UnsplashIn my previous article on Polars, I introduced you to the Polars DataFrame library that is much more efficient than the Pandas DataFrame.In this article, I am going to dive deeper into what makes Polar so fast — lazy evaluation. You will learn the difference between eager execution and lazy evaluation/execution.To understand the effectiveness of lazy evaluation, it is useful to…