Column Selection by Exclusion

Adding exclusion logic to select verb.

Tidyverse
df %>% select(-size)
color value_weight value_height
blue 3 12
red 8 45
green 9 42
Polars
df.select(pl.all().exclude("size"))
shape: (3, 3)
color value_weight value_height
str i64 i64
"blue" 3 12
"red" 8 45
"green" 9 42