Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(expr/api): solidify positional versus keyword-only arguments
Browse files Browse the repository at this point in the history
cpcloud committed Jan 29, 2025

Verified

This commit was signed with the committer’s verified signature.
cpcloud Phillip Cloud
1 parent 6603c6c commit dea404a
Showing 72 changed files with 1,141 additions and 777 deletions.
6 changes: 4 additions & 2 deletions docs/posts/ibis-duckdb-geospatial/index.qmd
Original file line number Diff line number Diff line change
@@ -140,7 +140,7 @@ streets
Using the deferred API, we can check which streets are within `d=10` meters of distance.

```{python}
sts_near_broad = streets.filter(_.geom.d_within(broad_station_subquery, 10))
sts_near_broad = streets.filter(_.geom.d_within(broad_station_subquery, distance=10))
sts_near_broad
```

@@ -227,7 +227,9 @@ data we can't tell the street near which it happened. However, we can check if t
distance of a street.

```{python}
h_street = streets.filter(_.geom.d_within(h_near_broad.select(_.geom).as_scalar(), 2))
h_street = streets.filter(
_.geom.d_within(h_near_broad.select(_.geom).as_scalar(), distance=2)
)
h_street
```

Loading

0 comments on commit dea404a

Please sign in to comment.