Method: Polars::Expr#interpolate
- Defined in:
- lib/polars/expr.rb
permalink #interpolate(method: "linear") ⇒ Expr
Fill nulls with linear interpolation over missing values.
Can also be used to regrid data to a new grid - see examples below.
3993 3994 3995 |
# File 'lib/polars/expr.rb', line 3993 def interpolate(method: "linear") _from_rbexpr(_rbexpr.interpolate(method)) end |