Column Selection

Selecting columns with the select verb by using regular expressions.

Tidyverse
df %>% select(contains('value'))
value_weight value_height
3 12
8 45
9 42
Polars
df.select(pl.col("^*value.*$"))
shape: (3, 2)
value_weight value_height
i64 i64
3 12
8 45
9 42