Method: Polars::StringExpr#to_time
- Defined in:
- lib/polars/string_expr.rb
#to_time(format = nil, strict: true, cache: true) ⇒ Expr
Convert a Utf8 column into a Time column.
137 138 139 140 |
# File 'lib/polars/string_expr.rb', line 137 def to_time(format = nil, strict: true, cache: true) _validate_format_argument(format) Utils.wrap_expr(_rbexpr.str_to_time(format, strict, cache)) end |