Column Selection
Selecting columns with the select
verb by column name.
Tidyverse
%>% select(color, size) df
color | size |
---|---|
blue | small |
red | large |
green | large |
Polars
'color','size']) df.select([
shape: (3, 2)
color | size |
---|---|
str | str |
"blue" | "small" |
"red" | "large" |
"green" | "large" |