Trait polars_core::series::arithmetic::checked::NumOpsDispatchChecked
source · pub trait NumOpsDispatchChecked {
// Required methods
fn checked_div(&self, rhs: &Series) -> PolarsResult<Series>;
fn checked_div_num<T: ToPrimitive>(&self, _rhs: T) -> PolarsResult<Series>;
}
Available on crate feature
checked_arithmetic
only.Required Methods§
sourcefn checked_div(&self, rhs: &Series) -> PolarsResult<Series>
fn checked_div(&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>(&self, _rhs: T) -> PolarsResult<Series>
Object Safety§
This trait is not object safe.