Method: Polars::Expr#sinh

Defined in:
lib/polars/expr.rb

#sinhExpr

Compute the element-wise value for the hyperbolic sine.

Examples:

df = Polars::DataFrame.new({"a" => [1.0]})
df.select(Polars.col("a").sinh)
# =>
# shape: (1, 1)
# ┌──────────┐
# │ a        │
# │ ---      │
# │ f64      │
# ╞══════════╡
# │ 1.175201 │
# └──────────┘

Returns:

[View source]

6267
6268
6269
# File 'lib/polars/expr.rb', line 6267

def sinh
  _from_rbexpr(_rbexpr.sinh)
end