polars.Expr.take_every#
- Expr.take_every(n: int) Self [source]#
Take every nth value in the Series and return as a new Series.
Deprecated since version 0.19.14: This method has been renamed to
gather_every()
.- Parameters:
- n
Gather every n-th row.
Site Navigation
Section Navigation
Take every nth value in the Series and return as a new Series.
Deprecated since version 0.19.14: This method has been renamed to gather_every()
.
Gather every n-th row.