News for hackers. Stuff that matters.
Re:DuckDB – in-process SQL OLAP database management system by wenc on Friday February 10, 2023 @06:19PM (#34747384)
SQL is much nicer for anything non-trivial. Pandas methods get unwieldy for complex aggregations.

Also Pandas methods are imperative so cannot be optimized. SQL is declarative so it can be optimized to the hilt and DuckDB is faster than Pandas in almost all cases, even on Pandas data frames themselves! (partly due to vectorization).

There are no comments on this comment yet.