polars::prelude

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 ChunkedArray<StringType>

Source§

impl ChunkCompareIneq<&str> for CategoricalChunked

Source§

impl ChunkCompareIneq<&str> for Series

Source§

impl ChunkCompareIneq<&ChunkedArray<BinaryType>> for ChunkedArray<BinaryType>

Source§

impl ChunkCompareIneq<&ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>

Source§

impl ChunkCompareIneq<&ChunkedArray<StringType>> for ChunkedArray<StringType>

Source§

impl ChunkCompareIneq<&ChunkedArray<StringType>> for CategoricalChunked

Source§

impl ChunkCompareIneq<&CategoricalChunked> for CategoricalChunked

Source§

impl ChunkCompareIneq<&Series> for Series

Source§

impl ChunkCompareIneq<&[u8]> for ChunkedArray<BinaryType>

Source§

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

Source§

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

Source§

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