fn neq(&self, rhs: &Series) -> BooleanChunked {
        #[cfg(feature = "dtype-categorical")]
        use DataType::*;
        match (self.dtype(), rhs.dtype(), self.len(), rhs.len()) {
            #[cfg(feature = "dtype-categorical")]
            (Categorical, Utf8, _, 1) => {
                return compare_cat_to_str_series(
                    self,
                    rhs,
                    self.name(),
                    |s, idx| s.neq(idx),
                    true,
                );
            }
            #[cfg(feature = "dtype-categorical")]
            (Utf8, Categorical, 1, _) => {
                return compare_cat_to_str_series(
                    rhs,
                    self,
                    self.name(),
                    |s, idx| s.neq(idx),
                    true,
                );
            }
            _ => {
                impl_compare!(self, rhs, neq)
            }
        }
    }
/// Create a boolean mask by checking for inequality.
Create a boolean mask by checking for inequality.
Create a boolean mask by checking for inequality .
fn neq(&self, rhs: &Series) -> BooleanChunked {
        #[cfg(feature = "dtype-categorical")]
        use DataType::*;
        match (self.dtype(), rhs.dtype(), self.len(), rhs.len()) {
            #[cfg(feature = "dtype-categorical")]
            (Categorical, Utf8, _, 1) => {
                return compare_cat_to_str_series(
                    self,
                    rhs,
                    self.name(),
                    |s, idx| s.neq(idx),
                    true,
                );
            }
            #[cfg(feature = "dtype-categorical")]
            (Utf8, Categorical, 1, _) => {
                return compare_cat_to_str_series(
                    rhs,
                    self,
                    self.name(),
                    |s, idx| s.neq(idx),
                    true,
                );
            }
            _ => {
                impl_compare!(self, rhs, neq)
            }
        }
    }
fn neq ( & self , rhs : & Series ) -> BooleanChunked { # [ cfg ( feature " " ) ] use DataType :: * ; match ( self . dtype ( ) , rhs . dtype ( ) , self . len ( ) , rhs . len ( ) ) { # [ cfg ( feature " " ) ] ( Categorical , Utf8 , _ , 1 ) => { return compare_cat_to_str_series ( self , rhs , self . name ( ) , | s , idx | s . neq ( idx ) , true , ) ; } # [ cfg ( feature " " ) ] ( Utf8 , Categorical , 1 , _ ) => { return compare_cat_to_str_series ( rhs , self , self . name ( ) , | s , idx | s . neq ( idx ) , true , ) ; } _ => { impl_compare ! ( self rhs neq ) } } }
Create a boolean mask by checking for inequality.
Create a boolean mask by checking for inequality .
&self
rhs
&Series
&self
rhs
&Series