polars_core::chunked_array::ops

Trait ChunkCompareIneq

Source
pub trait ChunkCompareIneq<Rhs> {
    type Item;

    // Required methods
    fn gt(&self, rhs: Rhs) -> Self::Item;
    fn gt_eq(&self, rhs: Rhs) -> Self::Item;
    fn lt(&self, rhs: Rhs) -> Self::Item;
    fn lt_eq(&self, rhs: Rhs) -> Self::Item;
}
Expand description

Compare Series and ChunkedArray’s using inequality operators (<, >=, etc.) and get a boolean mask that can be used to filter rows.

Required Associated Types§

Required Methods§

Source

fn gt(&self, rhs: Rhs) -> Self::Item

Greater than comparison.

Source

fn gt_eq(&self, rhs: Rhs) -> Self::Item

Greater than or equal comparison.

Source

fn lt(&self, rhs: Rhs) -> Self::Item

Less than comparison.

Source

fn lt_eq(&self, rhs: Rhs) -> Self::Item

Less than or equal comparison

Implementors§

Source§

impl ChunkCompareIneq<&Column> for Column

Source§

impl ChunkCompareIneq<&str> for CategoricalChunked

Available on crate feature dtype-categorical only.
Source§

impl ChunkCompareIneq<&str> for Series

Source§

impl ChunkCompareIneq<&str> for StringChunked

Source§

impl ChunkCompareIneq<&CategoricalChunked> for CategoricalChunked

Available on crate feature dtype-categorical only.
Source§

impl ChunkCompareIneq<&Series> for Series

Source§

impl ChunkCompareIneq<&ChunkedArray<BinaryType>> for BinaryChunked

Source§

impl ChunkCompareIneq<&ChunkedArray<BooleanType>> for BooleanChunked

Source§

impl ChunkCompareIneq<&ChunkedArray<StringType>> for CategoricalChunked

Available on crate feature dtype-categorical only.
Source§

impl ChunkCompareIneq<&ChunkedArray<StringType>> for StringChunked

Source§

impl ChunkCompareIneq<&[u8]> for BinaryChunked

Source§

impl<Rhs> ChunkCompareIneq<Rhs> for Series
where Rhs: NumericNative,

Source§

impl<T> ChunkCompareIneq<&ChunkedArray<T>> for ChunkedArray<T>
where T: PolarsNumericType, T::Array: TotalOrdKernel<Scalar = T::Native> + TotalEqKernel<Scalar = T::Native>,

Source§

impl<T, Rhs> ChunkCompareIneq<Rhs> for ChunkedArray<T>
where T: PolarsNumericType, Rhs: ToPrimitive, T::Array: TotalOrdKernel<Scalar = T::Native> + TotalEqKernel<Scalar = T::Native>,