polars::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

source§

impl ChunkCompareIneq<&str> for Series

source§

impl ChunkCompareIneq<&str> for ChunkedArray<StringType>

source§

impl ChunkCompareIneq<&CategoricalChunked> for CategoricalChunked

source§

impl ChunkCompareIneq<&Series> for Series

source§

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

source§

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

source§

impl ChunkCompareIneq<&ChunkedArray<StringType>> for CategoricalChunked

source§

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

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>,