fn valid_window_bounds(
values: &Float64Array,
offset: usize,
length: usize,
) -> Option<(usize, usize, usize)>Expand description
Locates the samples inside [offset, offset + length), returning the first and last
non-null index together with the number of non-null slots. Returns None when the
window holds no sample.