1. 학습
  2. /
  3. 강의
  4. /
  5. Scaling and Optimizing Data Pipelines with Polars

Connected

연습 문제

Querying DuckDB into Polars

The team also has a local DuckDB analytical store. A connection is already open, and a physical_format_summary table is loaded for you. DuckDB has its own integration with Polars: query the table and convert the result to a Polars DataFrame in one step.

polars is loaded as pl, and the DuckDB connection is in db.

지침

100 XP
  • Run the SQL query on the DuckDB connection.
  • Convert the DuckDB result to a Polars DataFrame.