Method: Polars::StringExpr#to_decimal
- Defined in:
- lib/polars/string_expr.rb
#to_decimal(scale:) ⇒ Expr
Convert a String column into a Decimal column.
279 280 281 |
# File 'lib/polars/string_expr.rb', line 279 def to_decimal(scale:) Utils.wrap_expr(_rbexpr.str_to_decimal(scale)) end |