Skip to content

Commit ca30467

Browse files
committed
Make change to example in 'Previewing Data'
1 parent 7c4ee8b commit ca30467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/user-guide/preview.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ since `hour` and `minute` are derived from `sched_dep_time` (and this lets us sp
100100
issues).
101101

102102
We can also use column selectors within `columns_subset=`. Suppose we want to only see those columns
103-
that have `"dep"` in the name. To do that, we use the
103+
that have `"dep_"` or `"arr_"` in the name. To do that, we use the
104104
[`matches()`](https://posit-dev.github.io/pointblank/reference/matches.html) column selector
105105
function:
106106

107107
```{python}
108-
pb.preview(nycflights, columns_subset=pb.matches("dep"))
108+
pb.preview(nycflights, columns_subset=pb.matches("dep_|arr_"))
109109
```
110110

111111
Several selectors can be combined together through use of the

0 commit comments

Comments
 (0)