Method: Polars::NameExpr#map
- Defined in:
- lib/polars/name_expr.rb
#map(&function) ⇒ Expr
Rename the output of an expression by mapping a function over the root name.
80 81 82 |
# File 'lib/polars/name_expr.rb', line 80 def map(&function) Utils.wrap_expr(_rbexpr.name_map(function)) end |