Quantcast
Channel: Active questions tagged row - Stack Overflow
Viewing all articles
Browse latest Browse all 477

What is an efficient way of loop through rows of a polars LazyFrame?

$
0
0

I have a large Parquet file with just a few columns, and I'd like apply a function to each row of the Paruqet file. What is an efficient way of doing that? By efficient, I mean 2 things.

  1. The code runs fast.
  2. The code doesn't load the while file into memory but rather process it a few rows at a time.

Viewing all articles
Browse latest Browse all 477

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>