Method: Polars::Expr#reinterpret
- Defined in:
- lib/polars/expr.rb
#reinterpret(signed: nil) ⇒ Expr
Reinterpret the underlying bits as a signed/unsigned integer.
This operation is only allowed for 64bit integers. For lower bits integers, you can safely use that cast operation.
4535 4536 4537 4538 4539 4540 4541 4542 4543 |
# File 'lib/polars/expr.rb', line 4535 def reinterpret(signed: nil) # TODO update if signed.nil? warn "The default `signed` for `reinterpret` method will change from `false` to `true` in a future version" signed = false end wrap_expr(_rbexpr.reinterpret(signed)) end |