Method: Polars::StringExpr#to_integer
- Defined in:
- lib/polars/string_expr.rb
#to_integer(base: 10, strict: true) ⇒ Expr
Convert an Utf8 column into an Int64 column with base radix.
1331 1332 1333 1334 |
# File 'lib/polars/string_expr.rb', line 1331 def to_integer(base: 10, strict: true) base = Utils.parse_into_expression(base, str_as_lit: false) Utils.wrap_expr(_rbexpr.str_to_integer(base, strict)) end |