Skip to main content
DataStore compiles pandas-style operations into optimized SQL. This guide helps pandas users understand the SQL behind their operations.

Viewing Generated SQL

Query
Response

Basic Operations Mapping

Filtering (WHERE)

Selection (SELECT)

Sorting (ORDER BY)


GroupBy and Aggregation

Basic GroupBy

Aggregation Functions

Multiple Aggregations

HAVING Clause


Joins

Join Example


String Operations


DateTime Operations


Arithmetic Operations


NULL Handling


Complete Example

pandas Code

Equivalent SQL

DataStore Code


SQL Keywords Summary


Tips for pandas Users

  1. Think in SQL Operations

When writing DataStore code, think about what SQL you’d want:

  1. Use to_sql() to Learn

  1. Leverage SQL Features

DataStore gives you SQL power with pandas syntax:
Last modified on June 19, 2026