instead of using pandas in-memory with batches. See here: https://motherduck.com/blog/analyze-sqlite-databases-duckdb/ do some speed comparisons