polars.Series.take_every#
- Series.take_every(n: int) 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.