Method: Polars::Expr#log
- Defined in:
- lib/polars/expr.rb
#log(base = Math::E) ⇒ Expr
Compute the logarithm to a given base.
7575 7576 7577 7578 |
# File 'lib/polars/expr.rb', line 7575 def log(base = Math::E) base_rbexpr = Utils.parse_into_expression(base) wrap_expr(_rbexpr.log(base_rbexpr)) end |