Skip to main content

validate_float_series

Function validate_float_series 

Source
pub(crate) fn validate_float_series<'a>(
    schema: &SeriesSchema,
    series: &'a Series,
) -> Result<&'a TimeAxis>
Expand description

Checks an evaluated float series up front, so no segment of another type yields a result.

Returns the validated axis: it is addressed on a grid, so the caller reads the rows it carries with the axis traversal rather than assuming a contiguous range.