Techno Blender
Digitally Yours.
Browsing Tag

Polars

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…

Getting Started with the Polars DataFrame Library | by Wei-Meng Lee | Jul, 2022

Learn how to manipulate tabular data using the Polars dataframe library (and replace Pandas)Photo by Hans-Jurgen Mager on UnsplashMost Data Scientists/Analysts using Python are familiar with Pandas. And if you are in the data science field, you probably have invested quite a significant amount of time learning how to use them to manipulate your data. However, one of the main complains about Pandas is its speed and inefficiencies when dealing with large datasets. Fortunately, there is a new dataframe library that attempts…