Skip to main content
Get up and running with DataStore in minutes. This guide covers installation, migrating from pandas, and basic usage patterns.

Installation

Install chDB with pip:
For optional dependencies:

Verify Installation

One-Line Migration from Pandas

The simplest way to start using DataStore is to change your import statement:
That’s it! Your existing pandas code will now use DataStore and benefit from SQL optimization.

Migration Example

Basic Usage

Creating a DataStore

Filtering Data

Selecting Columns

Sorting

Grouping and Aggregation

Joining DataStores

Getting Results

DataStore uses lazy evaluation - operations are not executed until you need the results.

Triggering Execution

Viewing Generated SQL

Query
Response

Working with Different Data Sources

Local Files

Cloud Storage

Databases

String and DateTime Operations

String Operations

DateTime Operations

ClickHouse Extensions

Best Practices

  1. Use Parquet for Large Files

  1. Filter Early

  1. Select Only Needed Columns

  1. Use SQL for Complex Operations

Next Steps

Last modified on July 2, 2026