Skip to main content

coerce_lhs_rhs_numeric_op

Function coerce_lhs_rhs_numeric_op 

Source
pub fn coerce_lhs_rhs_numeric_op<'a>(
    lhs: &'a Series,
    rhs: &'a Series,
) -> Result<(Cow<'a, Series>, Cow<'a, Series>), PolarsError>
Expand description

Like coerce_lhs_rhs, but decimal operands keep their own scales, and an integer combined with a decimal is cast to Decimal(38, 0).