polars.Series.take_every#
- Series.take_every(n: int, offset: int = 0) Series [source]#
Take every nth value in the Series and return as new Series.
Deprecated since version 0.19.14: This method has been renamed to
gather_every()
.- Parameters:
- n
Gather every n-th row.
- offset
Starting index.