Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b47b61f
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jan 5, 2026
78f74b0
[run CI]
hadia206 Jun 2, 2025
f5369f3
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Apr 6, 2026
8e731e7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Apr 6, 2026
e4c069c
[RUN CI]
knassre-bodo Apr 8, 2026
b3e6c78
Merge branch 'main' into pre-commit-ci-update-config
hadia206 Apr 14, 2026
ed45e2d
[run CI]
hadia206 Apr 14, 2026
f08df23
[run CI]
hadia206 Apr 14, 2026
a339fdf
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jul 6, 2026
47dbddf
merge
hadia206 Jul 24, 2026
9425ddc
[run CI]
hadia206 Jul 24, 2026
e9e60ef
Merge branch 'pre-commit-ci-update-config' of https://github.com/bodo…
hadia206 Jul 24, 2026
d14e996
[run CI]
hadia206 Jul 24, 2026
635ecca
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Oct 5, 2026
3dfec65
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 5, 2026
1652856
[run ci] Merge branch 'main' of https://github.com/bodo-ai/PyDough in…
hadia206 Oct 15, 2026
d6768bd
[run ci] merge conflict
hadia206 Oct 16, 2026
8d17de7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 16, 2026
4adcebd
[run all]
hadia206 Oct 16, 2026
d08a09d
Merge branch 'pre-commit-ci-update-config' of https://github.com/bodo…
hadia206 Oct 16, 2026
114a571
[run all]
hadia206 Oct 16, 2026
2e1643c
[run all] fix failures
hadia206 Oct 16, 2026
85aa3a7
fix astype
hadia206 Oct 16, 2026
3d9d9fc
[run all]
hadia206 Oct 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.20
rev: v0.16.10
hooks:
- id: ruff
language_version: python3.12
args: [ --fix, --exit-non-zero-on-fix]
- id: ruff-format
language_version: python3.12
- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v2.1.0'
rev: 'v2.4.0'
hooks:
- id: mypy
args: [--check-untyped-defs, --ignore-missing-imports]
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ The following PyDough snippet solves this problem:

```py
result = People.CALCULATE(
name,
net_income = SUM(jobs.income_earned) - SUM(schools.tuition_paid)
name, net_income=SUM(jobs.income_earned) - SUM(schools.tuition_paid)
)
pydough.to_df(result)
```
Expand Down
8 changes: 4 additions & 4 deletions benchmark/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ The generated `.csv` file has the format described in `Metrics` section. A new f
from benchmarker import Benchmarker

benchmarker = Benchmarker(
postgres_conn=conn, # psycopg2 (or compatible) connection
questions_path="./", # directory containing the questions file
filename="questions", # questions filename (without .csv extension)
export_metrics=False, # write metrics CSV on completion
postgres_conn=conn, # psycopg2 (or compatible) connection
questions_path="./", # directory containing the questions file
filename="questions", # questions filename (without .csv extension)
export_metrics=False, # write metrics CSV on completion
)
```

Expand Down
14 changes: 5 additions & 9 deletions documentation/dsl.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,7 @@ So far, many different kinds of expressions have been noted in the examples for

```py
# Referencing scalar properties of the current collection
People.CALCULATE(
first_name,
last_name
)
People.CALCULATE(first_name, last_name)

# Referencing scalar properties of a singular sub-collection
People.CALCULATE(
Expand All @@ -411,8 +408,8 @@ People.CALCULATE(
# Referencing properties from the CALCULATE an ancestor collection
# (see down-streaming for more details)
Addresses.CALCULATE(zip_code).current_occupants.CALCULATE(email).packages.CALCULATE(
email, # <- refers to the `email` from `current_occupants`
zip_code, # <- refers to the `zip_code` from `Addresses`
email, # <- refers to the `email` from `current_occupants`
zip_code, # <- refers to the `zip_code` from `Addresses`
)

# Invoking normal functions/operations on other singular data
Expand All @@ -435,6 +432,7 @@ customers.CALCULATE(
from pandas import Timestamp
from datetime import date
from decimal import Decimal

customers.CALCULATE(
a=0,
b=3.14,
Expand Down Expand Up @@ -1960,9 +1958,7 @@ Template definition:
```python
customers.CALCULATE(
key,
n_orders=orders_filter_count(
(total_price > 3000) & (YEAR(order_date) == 1996)
),
n_orders=orders_filter_count((total_price > 3000) & (YEAR(order_date) == 1996)),
).TOP_K(5, by=(n_orders.DESC(), key.ASC()))
```

Expand Down
Loading
Loading