chDB 4.0 - A pandas Drop-in Replacement Powered by ClickHouse

ClickHouse
315 views June 26, 2026

chDB 4.0 ships a `chdb.datastore` module that acts as a drop-in replacement for pandas — same API, but queries run through ClickHouse under the hood. In this video we explore what that looks like in practice using an Amazon product reviews dataset. What's covered: - Loading a local parquet file with `chdb.datastore.read_parquet()` instead of `pandas.read_parquet()` - Running the same filter + groupby + sort pipeline on both pandas and chDB DataFrames - Using `.explain()` to inspect the lazy query plan chDB builds before execution - Chaining intermediate results (lazy evaluation lets you save and reuse filtered subsets) - Benchmarking pandas vs chDB with `%%timeit` on the same aggregation - Reading a parquet file directly from S3 (s3://datasets-documentation/...) without downloading it first Links: - chDB GitHub: https://github.com/chdb-io/chdb - Amazon reviews dataset: s3://datasets-documentation/amazon_reviews/ - chDB docs: https://clickhouse.com/docs/chdb

Keyboard shortcuts

On. Switch them off if they collide with your assistive tools; ? still opens this sheet.

Go to

Press g then the letter.

  • gh Latest
  • gs Sources
  • gm Media
  • gv Videos
  • gp Podcasts
  • gc Calendar
  • gd Decoder
  • gz Dataviz
  • ga Datasets
  • gb Blog
  • gk Markets
  • gj Careers
  • gn Prompt Notebook

On this page

  • / Focus search, where there is one
  • t Back to top
  • ? This list
  • Esc Close