DuckDB gives you the analytical power of a columnar data warehouse in a zero-dependency embeddable library that runs anywhere — from a Jupyter notebook to a web browser.
Install DuckDB and query a CSV file directly — no loading step required.
import duckdb
# Query a CSV file directly — no loading step
result = duckdb.sql("SELECT region, SUM(amount) FROM 'sales.csv' GROUP BY region")
result.show()
Dive into Core Concepts to understand columnar storage and vectorized execution, or jump to Implementation Details for more code patterns.