vortex_array::computeFunction filter
Source pub fn filter(
array: impl AsRef<ArrayData>,
predicate: impl AsRef<ArrayData>,
) -> VortexResult<ArrayData>
Expand description
Return a new array by applying a boolean predicate to select items from a base Array.
This function attempts to amortize the cost of copying
§Panics
The predicate must receive an Array with type non-nullable bool, and will panic if this is
not the case.