[−][src]Function arrow::compute::array_ops::limit
pub fn limit(array: &ArrayRef, num_elements: usize) -> Result<ArrayRef>
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