Function polars_lazy::dsl::col [−][src]
This is supported on crate feature
compile
only.Expand description
Create a Column Expression based on a column name.
Arguments
name
- A string slice that holds the name of the column
Examples
ⓘ
// select a column name
col("foo")
ⓘ
// select all columns by using a wildcard
col("*")
ⓘ
// select specific column by writing a regular expression that starts with `^` and ends with `$`
// only if regex features is activated
col("^foo.*$")