Column Selection
Selecting columns with the select
verb by using regular expressions.
Tidyverse
%>% select(contains('value')) df
value_weight | value_height |
---|---|
3 | 12 |
8 | 45 |
9 | 42 |
Polars
"^*value.*$")) df.select(pl.col(
shape: (3, 2)
value_weight | value_height |
---|---|
i64 | i64 |
3 | 12 |
8 | 45 |
9 | 42 |