Method: Polars::Expr#repeat_by
- Defined in:
- lib/polars/expr.rb
#repeat_by(by) ⇒ Expr
Repeat the elements in this Series as specified in the given expression.
The repeated elements are expanded into a List.
4346 4347 4348 4349 |
# File 'lib/polars/expr.rb', line 4346 def repeat_by(by) by = Utils.parse_into_expression(by, str_as_lit: false) wrap_expr(_rbexpr.repeat_by(by)) end |