Skip to content

Commit

Permalink
doc: fix incorrect filter syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed Oct 31, 2023
1 parent 5689ad5 commit 61cbecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/python/user-guide/io/cloud-storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
dset = ds.dataset("s3://my-partitioned-folder/", format="parquet")
(
pl.scan_pyarrow_dataset(dset)
.filter("foo" == "a")
.filter(pl.col("foo") == "a")
.select(["foo", "bar"])
.collect()
)
Expand Down

0 comments on commit 61cbecd

Please sign in to comment.