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§
Implementors§
Source§impl ChunkCompareIneq<&Column> for Column
impl ChunkCompareIneq<&Column> for Column
type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§impl ChunkCompareIneq<&str> for Series
impl ChunkCompareIneq<&str> for Series
type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§impl ChunkCompareIneq<&str> for StringChunked
impl ChunkCompareIneq<&str> for StringChunked
type Item = ChunkedArray<BooleanType>
Source§impl ChunkCompareIneq<&Series> for Series
impl ChunkCompareIneq<&Series> for Series
type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§impl ChunkCompareIneq<&ChunkedArray<BinaryType>> for BinaryChunked
impl ChunkCompareIneq<&ChunkedArray<BinaryType>> for BinaryChunked
type Item = ChunkedArray<BooleanType>
Source§impl ChunkCompareIneq<&ChunkedArray<BooleanType>> for BooleanChunked
impl ChunkCompareIneq<&ChunkedArray<BooleanType>> for BooleanChunked
type Item = ChunkedArray<BooleanType>
Source§impl ChunkCompareIneq<&ChunkedArray<StringType>> for StringChunked
impl ChunkCompareIneq<&ChunkedArray<StringType>> for StringChunked
type Item = ChunkedArray<BooleanType>
Source§impl ChunkCompareIneq<&[u8]> for BinaryChunked
impl ChunkCompareIneq<&[u8]> for BinaryChunked
type Item = ChunkedArray<BooleanType>
Source§impl<Rhs> ChunkCompareIneq<Rhs> for Serieswhere
Rhs: NumericNative,
impl<Rhs> ChunkCompareIneq<Rhs> for Serieswhere
Rhs: NumericNative,
type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§impl<T> ChunkCompareIneq<&ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
T::Array: TotalOrdKernel<Scalar = T::Native> + TotalEqKernel<Scalar = T::Native>,
impl<T> ChunkCompareIneq<&ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
T::Array: TotalOrdKernel<Scalar = T::Native> + TotalEqKernel<Scalar = T::Native>,
type Item = ChunkedArray<BooleanType>
Source§impl<T, Rhs> ChunkCompareIneq<Rhs> for ChunkedArray<T>where
T: PolarsNumericType,
Rhs: ToPrimitive,
T::Array: TotalOrdKernel<Scalar = T::Native> + TotalEqKernel<Scalar = T::Native>,
impl<T, Rhs> ChunkCompareIneq<Rhs> for ChunkedArray<T>where
T: PolarsNumericType,
Rhs: ToPrimitive,
T::Array: TotalOrdKernel<Scalar = T::Native> + TotalEqKernel<Scalar = T::Native>,
type Item = ChunkedArray<BooleanType>
Source§impl<T: PolarsCategoricalType> ChunkCompareIneq<&str> for CategoricalChunked<T>
Available on crate feature dtype-categorical
only.
impl<T: PolarsCategoricalType> ChunkCompareIneq<&str> for CategoricalChunked<T>
Available on crate feature
dtype-categorical
only.type Item = ChunkedArray<BooleanType>
Source§impl<T: PolarsCategoricalType> ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>> for CategoricalChunked<T>where
ChunkedArray<T::PolarsPhysical>: for<'a> ChunkCompareIneq<&'a ChunkedArray<T::PolarsPhysical>, Item = BooleanChunked>,
Available on crate feature dtype-categorical
only.
impl<T: PolarsCategoricalType> ChunkCompareIneq<&Logical<T, <T as PolarsCategoricalType>::PolarsPhysical>> for CategoricalChunked<T>where
ChunkedArray<T::PolarsPhysical>: for<'a> ChunkCompareIneq<&'a ChunkedArray<T::PolarsPhysical>, Item = BooleanChunked>,
Available on crate feature
dtype-categorical
only.type Item = Result<ChunkedArray<BooleanType>, PolarsError>
Source§impl<T: PolarsCategoricalType> ChunkCompareIneq<&ChunkedArray<StringType>> for CategoricalChunked<T>
Available on crate feature dtype-categorical
only.
impl<T: PolarsCategoricalType> ChunkCompareIneq<&ChunkedArray<StringType>> for CategoricalChunked<T>
Available on crate feature
dtype-categorical
only.