Skip to skills
AI Craft Pad
Home/Skills/Compare workflows/DataFrame or SQL: choose a local analysis workflow
Practical comparisons

DataFrame or SQL: choose a local analysis workflow

Two ClickHouse skills use the same embedded engine through different interfaces. Choose by the shape of your existing calculation and the evidence you need to inspect.

Start with the work you already have

DataStore is the closer starting point for a pandas-shaped sequence of filtering, grouping and joining. The SQL skill is more direct when the team already reasons in queries or needs ClickHouse expressions. Neither choice requires adopting both interfaces for a small task. A source claiming API similarity is a reason to test an existing calculation, not proof that every pandas operation behaves identically.

Make execution visible

A lazy DataFrame expression may only construct a plan until a result is materialized. An embedded SQL query has its own output and session choices. When comparing speed, time the complete operation and inspect what data was actually read, transferred and returned. Generated SQL can be useful evidence for the DataStore route; parameterized queries are important for the SQL route.

Keep local and remote decisions separate

Both source files declare environment prerequisites, and their examples include remote connectors. Starting from a local CSV or Parquet fixture is different from authorizing a database or cloud-storage connection. Review credentials, network access, data movement and persistence before adding a remote source. Installing instruction files does not install or validate the underlying runtime.

Use a shared acceptance fixture

Run a small dataset containing nulls, repeated join keys, wide numbers and empty groups through an independent reference calculation. Compare schema, row counts and aggregates before profiling. Choose the interface that your team can explain and maintain after it satisfies those checks; this comparison does not claim a measured performance winner.

TaskStarting pointCheck before choosing
Existing pandas-style codeDataStore is usually the closer interfaceCheck the exact supported operations
Query-first analysischDB SQL is the direct routeUse parameters for values
Persistent multi-step SQLInspect Session or DB-API referencesDefine storage and cleanup
Performance decisionMeasure complete evaluationNo catalog benchmark winner

Read the source-based reviews

Data & databases86/100

chdb datastore

ClickHouse/agent-skills

A Python DataFrame workflow for exploring files and joining tabular sources through the embedded ClickHouse engine.

First-party sourceApache-2.0Editorial review
562 repo stars2 text flagsReview ↗
Data & databases86/100

chdb sql

ClickHouse/agent-skills

Embedded analytical SQL for Python tasks that need ClickHouse functions without operating a separate database server.

First-party sourceApache-2.0Editorial review
562 repo stars2 text flagsReview ↗