pub fn constant_fits_values(constant: &Scalar, values: &DType) -> Option<bool>Expand description
Returns whether the dtype range of values holds constant.
Integers must have the same signedness, and decimals must have the same scale. Returns None
for null constants, unsupported dtypes, or incompatible constants.