Column.slice
Series slice(size_t start, size_t len)Zero-copy slice: each result chunk is a slice of the overlapping input chunk, so only the chunk arrays are allocated, never the data. Null counts are recomputed per sliced chunk.
Parameters
start | the first element of the result |
len | the number of elements of the result |
Returns
the sliced Series, sharing the buffers.
Throws
DataFrameException when the range exceeds the Series.