| ▲ | theLiminator 9 hours ago | |
I personally find polars easier to read/write than sql. Especially when you start doing UDFs with numpy/et. al. I think for me, duckdb's clear edge is the cli experience. > It is faster to write and faster to read At least on clickbench, polars and duckdb are roughly comparable (with polars edging out duckdb). | ||
| ▲ | erikcw 3 hours ago | parent | next [-] | |
I use them both depending on which feels more natural for the task, often within the same project. The interop is easy and very high performance thanks to Apache Arrow: `df = duckdb.sql(sql).pl()` and `result = duckdb.sql("SELECT * FROM df")`. | ||
| ▲ | 9 hours ago | parent | prev [-] | |
| [deleted] | ||