Function arrow::compute::kernels::limit::limit [−][src]
pub fn limit(array: &ArrayRef, num_elements: usize) -> ArrayRef
Expand description
Returns the array, taking only the number of elements specified
Limit performs a zero-copy slice of the array, and is a convenience method on slice where:
- it performs a bounds-check on the array
- it slices from offset 0