pub trait NumOpsDispatchCheckedInner: PolarsDataType + Sized {
// Provided methods
fn checked_div(
lhs: &ChunkedArray<Self>,
rhs: &Series
) -> PolarsResult<Series> { ... }
fn checked_div_num<T: ToPrimitive>(
lhs: &ChunkedArray<Self>,
_rhs: T
) -> PolarsResult<Series> { ... }
}
Available on crate feature
checked_arithmetic
only.Provided Methods§
sourcefn checked_div(lhs: &ChunkedArray<Self>, rhs: &Series) -> PolarsResult<Series>
fn checked_div(lhs: &ChunkedArray<Self>, rhs: &Series) -> PolarsResult<Series>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
fn checked_div_num<T: ToPrimitive>( lhs: &ChunkedArray<Self>, _rhs: T ) -> PolarsResult<Series>
Object Safety§
This trait is not object safe.