Function polars::export::arrow::compute::comparison::eq_scalar_and_validity
source · [−]pub fn eq_scalar_and_validity(lhs: &dyn Array, rhs: &dyn Scalar) -> BooleanArrayThis is supported on crate feature
compute_comparison only.Expand description
== between an Array and a Scalar and includes validities in comparison.
Use can_eq_scalar to check whether the operation is valid
Panic
Panics iff either:
- they do not have have the same logical type
- the operation is not supported for the logical type