pub struct ChunkedArray<T>where
    T: PolarsDataType,{ /* private fields */ }
Expand description

ChunkedArray

Every Series contains a ChunkedArray<T>. Unlike Series, ChunkedArray’s are typed. This allows us to apply closures to the data and collect the results to a ChunkedArray of the same type T. Below we use an apply to use the cosine function to the values of a ChunkedArray.

fn apply_cosine(ca: &Float32Chunked) -> Float32Chunked {
    ca.apply(|v| v.cos())
}

If we would like to cast the result we could use a Rust Iterator instead of an apply method. Note that Iterators are slightly slower as the null values aren’t ignored implicitly.

fn apply_cosine_and_cast(ca: &Float32Chunked) -> Float64Chunked {
    ca.into_iter()
        .map(|opt_v| {
        opt_v.map(|v| v.cos() as f64)
    }).collect()
}

Another option is to first cast and then use an apply.

fn apply_cosine_and_cast(ca: &Float32Chunked) -> Float64Chunked {
    ca.apply_cast_numeric(|v| v.cos() as f64)
}

Conversion between Series and ChunkedArray’s

Conversion from a Series to a ChunkedArray is effortless.

fn to_chunked_array(series: &Series) -> PolarsResult<&Int32Chunked>{
    series.i32()
}

fn to_series(ca: Int32Chunked) -> Series {
    ca.into_series()
}

Iterators

ChunkedArrays fully support Rust native Iterator and DoubleEndedIterator traits, thereby giving access to all the excellent methods available for Iterators.


fn iter_forward(ca: &Float32Chunked) {
    ca.into_iter()
        .for_each(|opt_v| println!("{:?}", opt_v))
}

fn iter_backward(ca: &Float32Chunked) {
    ca.into_iter()
        .rev()
        .for_each(|opt_v| println!("{:?}", opt_v))
}

Memory layout

ChunkedArray’s use Apache Arrow as backend for the memory layout. Arrows memory is immutable which makes it possible to make multiple zero copy (sub)-views from a single array.

To be able to append data, Polars uses chunks to append new memory locations, hence the ChunkedArray<T> data structure. Appends are cheap, because it will not lead to a full reallocation of the whole array (as could be the case with a Rust Vec).

However, multiple chunks in a ChunkArray will slow down many operations that need random access because we have an extra indirection and indexes need to be mapped to the proper chunk. Arithmetic may also be slowed down by this. When multiplying two ChunkArray's with different chunk sizes they cannot utilize SIMD for instance.

If you want to have predictable performance (no unexpected re-allocation of memory), it is advised to call the ChunkedArray::rechunk after multiple append operations.

See also ChunkedArray::extend for appends within a chunk.

Implementations§

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType, <T as PolarsNumericType>::Native: Signed,

source

pub fn abs(&self) -> ChunkedArray<T>

Convert all values to their absolute/positive value.

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn append(&mut self, other: &ChunkedArray<T>)

Append in place. This is done by adding the chunks of other to this ChunkedArray.

See also extend for appends to the underlying memory

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn cast_and_apply_in_place<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(<S as PolarsNumericType>::Native) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Cast a numeric array to another numeric data type and apply a function in place. This saves an allocation.

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn apply_mut<F>(&mut self, f: F)where F: Fn(<T as PolarsNumericType>::Native) -> <T as PolarsNumericType>::Native + Copy,

source§

impl ChunkedArray<Float32Type>

This impl block contains no items.

Used to save compilation paths. Use carefully. Although this is safe, if misused it can lead to incorrect results.

source§

impl<T> ChunkedArray<T>where T: PolarsDataType,

source

pub fn len(&self) -> usize

Get the length of the ChunkedArray

source

pub fn is_empty(&self) -> bool

Check if ChunkedArray is empty.

source

pub fn rechunk(&self) -> ChunkedArray<T>

source

pub fn slice(&self, offset: i64, length: usize) -> ChunkedArray<T>

Slice the array. The chunks are reallocated the underlying data slices are zero copy.

When offset is negative it will be counted from the end of the array. This method will never error, and will slice the best match when offset, or length is out of bounds

source

pub fn limit(&self, num_elements: usize) -> ChunkedArray<T>where ChunkedArray<T>: Sized,

Take a view of top n elements

source

pub fn head(&self, length: Option<usize>) -> ChunkedArray<T>where ChunkedArray<T>: Sized,

Get the head of the ChunkedArray

source

pub fn tail(&self, length: Option<usize>) -> ChunkedArray<T>where ChunkedArray<T>: Sized,

Get the tail of the ChunkedArray

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn extend(&mut self, other: &ChunkedArray<T>)

Extend the memory backed by this array with the values from other.

Different from ChunkedArray::append which adds chunks to this ChunkedArray extend appends the data from other to the underlying PrimitiveArray and thus may cause a reallocation.

However if this does not cause a reallocation, the resulting data structure will not have any extra chunks and thus will yield faster queries.

Prefer extend over append when you want to do a query after a single append. For instance during online operations where you add n rows and rerun a query.

Prefer append over extend when you want to append many times before doing a query. For instance when you read in multiple files and when to store them in a single DataFrame. In the latter case finish the sequence of append operations with a rechunk.

source§

impl ChunkedArray<ListType>

source

pub fn full_null_with_dtype( name: &str, length: usize, inner_dtype: &DataType ) -> ChunkedArray<ListType>

source§

impl<T> ChunkedArray<T>where ChunkedArray<T>: IntoSeries, T: PolarsFloatType, <T as PolarsNumericType>::Native: Float + IsFloat + SubAssign<<T as PolarsNumericType>::Native> + Pow<<T as PolarsNumericType>::Native, Output = <T as PolarsNumericType>::Native>,

source

pub fn rolling_apply_float<F>( &self, window_size: usize, f: F ) -> Result<ChunkedArray<T>, PolarsError>where F: FnMut(&mut ChunkedArray<T>) -> Option<<T as PolarsNumericType>::Native>,

Apply a rolling custom function. This is pretty slow because of dynamic dispatch.

source§

impl ChunkedArray<BooleanType>

source

pub fn all(&self) -> bool

Check if all values are true

source

pub fn any(&self) -> bool

Check if any value is true

source§

impl<T> ChunkedArray<T>where T: PolarsFloatType, <T as PolarsNumericType>::Native: Float,

source

pub fn is_nan(&self) -> ChunkedArray<BooleanType>

source

pub fn is_not_nan(&self) -> ChunkedArray<BooleanType>

source

pub fn is_finite(&self) -> ChunkedArray<BooleanType>

source

pub fn is_infinite(&self) -> ChunkedArray<BooleanType>

source

pub fn none_to_nan(&self) -> ChunkedArray<T>

Convert missing values to NaN values.

source§

impl ChunkedArray<ListType>

source

pub fn par_iter(&self) -> impl ParallelIterator<Item = Option<Series>>

source

pub fn par_iter_indexed(&mut self) -> impl IndexedParallelIterator

source§

impl ChunkedArray<Utf8Type>

source

pub fn par_iter_indexed(&self) -> impl IndexedParallelIterator

source

pub fn par_iter(&self) -> impl ParallelIterator<Item = Option<&str>>

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn to_ndarray( &self ) -> Result<ArrayBase<ViewRepr<&<T as PolarsNumericType>::Native>, Dim<[usize; 1]>>, PolarsError>

If data is aligned in a single chunk and has no Null values a zero copy view is returned as an ndarray

source§

impl ChunkedArray<ListType>

source

pub fn to_ndarray<N>( &self ) -> Result<ArrayBase<OwnedRepr<<N as PolarsNumericType>::Native>, Dim<[usize; 2]>>, PolarsError>where N: PolarsNumericType,

If all nested Series have the same length, a 2 dimensional ndarray::Array is returned.

source§

impl<T> ChunkedArray<T>where T: PolarsDataType,

source

pub unsafe fn from_chunks( name: &str, chunks: Vec<Box<dyn Array + 'static, Global>, Global> ) -> ChunkedArray<T>

Create a new ChunkedArray from existing chunks.

Safety

The Arrow datatype of all chunks must match the PolarsDataType T.

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn from_vec( name: &str, v: Vec<<T as PolarsNumericType>::Native, Global> ) -> ChunkedArray<T>

Create a new ChunkedArray by taking ownership of the Vec. This operation is zero copy.

source

pub fn new_from_owned_with_null_bitmap( name: &str, values: Vec<<T as PolarsNumericType>::Native, Global>, buffer: Option<Bitmap> ) -> ChunkedArray<T>

Nullify values in slice with an existing null bitmap

source

pub unsafe fn mmap_slice( name: &str, values: &[<T as PolarsNumericType>::Native] ) -> ChunkedArray<T>

Create a temporary ChunkedArray from a slice.

Safety

The lifetime will be bound to the lifetime of the slice. This will not be checked by the borrowchecker.

source§

impl ChunkedArray<ListType>

source

pub fn amortized_iter( &self ) -> AmortizedListIter<'_, impl Iterator<Item = Option<Box<dyn Array + 'static, Global>>>>

Available on crate feature private only.

This is an iterator over a ListChunked that save allocations. A Series is: 1. Arc ChunkedArray is: 2. Vec< 3. ArrayRef>

The ArrayRef we indicated with 3. will be updated during iteration. The Series will be pinned in memory, saving an allocation for

  1. Arc<..>
  2. Vec<…>
Warning

Though memory safe in the sense that it will not read unowned memory, UB, or memory leaks this function still needs precautions. The returned should never be cloned or taken longer than a single iteration, as every call on next of the iterator will change the contents of that Series.

source

pub fn apply_amortized<'a, F>(&'a self, f: F) -> ChunkedArray<ListType>where F: FnMut(UnstableSeries<'a>) -> Series,

Available on crate feature private only.

Apply a closure F elementwise.

source

pub fn try_apply_amortized<'a, F>( &'a self, f: F ) -> Result<ChunkedArray<ListType>, PolarsError>where F: FnMut(UnstableSeries<'a>) -> Result<Series, PolarsError>,

source§

impl ChunkedArray<ListType>

source

pub fn set_fast_explode(&mut self)

Available on crate feature private only.
source

pub fn _can_fast_explode(&self) -> bool

source

pub fn to_logical(&mut self, inner_dtype: DataType)

source§

impl ChunkedArray<Int32Type>

source§

impl ChunkedArray<Int64Type>

source§

impl ChunkedArray<Int128Type>

source

pub fn into_decimal( self, precision: usize, scale: usize ) -> Logical<DecimalType, Int128Type>

source§

impl ChunkedArray<Int64Type>

source§

impl ChunkedArray<Int64Type>

source§

impl<T> ChunkedArray<ObjectType<T>>where T: PolarsObject,

source§

impl<T> ChunkedArray<ObjectType<T>>where T: PolarsObject,

source

pub unsafe fn get_object_unchecked( &self, index: usize ) -> Option<&(dyn PolarsObjectSafe + 'static)>

Get a hold to an object that can be formatted or downcasted via the Any trait.

Safety

No bounds checks

source

pub fn get_object( &self, index: usize ) -> Option<&(dyn PolarsObjectSafe + 'static)>

Get a hold to an object that can be formatted or downcasted via the Any trait.

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType, Standard: Distribution<<T as PolarsNumericType>::Native>,

source

pub fn init_rand( size: usize, null_density: f32, seed: Option<u64> ) -> ChunkedArray<T>

source§

impl<T> ChunkedArray<T>where T: PolarsDataType, ChunkedArray<T>: ChunkTake,

source

pub fn sample_n( &self, n: usize, with_replacement: bool, shuffle: bool, seed: Option<u64> ) -> Result<ChunkedArray<T>, PolarsError>

Sample n datapoints from this ChunkedArray.

source

pub fn sample_frac( &self, frac: f64, with_replacement: bool, shuffle: bool, seed: Option<u64> ) -> Result<ChunkedArray<T>, PolarsError>

Sample a fraction between 0.0-1.0 of this ChunkedArray.

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType, <T as PolarsNumericType>::Native: Float,

source

pub fn rand_normal( name: &str, length: usize, mean: f64, std_dev: f64 ) -> Result<ChunkedArray<T>, PolarsError>

Create ChunkedArray with samples from a Normal distribution.

source

pub fn rand_standard_normal(name: &str, length: usize) -> ChunkedArray<T>

Create ChunkedArray with samples from a Standard Normal distribution.

source

pub fn rand_uniform( name: &str, length: usize, low: f64, high: f64 ) -> ChunkedArray<T>

Create ChunkedArray with samples from a Uniform distribution.

source§

impl ChunkedArray<BooleanType>

source

pub fn rand_bernoulli( name: &str, length: usize, p: f64 ) -> Result<ChunkedArray<BooleanType>, PolarsError>

Create ChunkedArray with samples from a Bernoulli distribution.

source§

impl<T> ChunkedArray<T>where T: PolarsDataType,

source

pub fn is_sorted_flag2(&self) -> IsSorted

source

pub fn set_sorted_flag(&mut self, sorted: IsSorted)

Set the ‘sorted’ bit meta info.

source

pub fn first_non_null(&self) -> Option<usize>

Get the index of the first non null value in this ChunkedArray.

source

pub fn last_non_null(&self) -> Option<usize>

Get the index of the last non null value in this ChunkedArray.

source

pub fn iter_validities( &self ) -> Map<Iter<'_, Box<dyn Array + 'static, Global>>, fn(_: &Box<dyn Array + 'static, Global>) -> Option<&Bitmap>>

Get the buffer of bits representing null values

source

pub fn has_validity(&self) -> bool

Return if any the chunks in this [ChunkedArray] have a validity bitmap. no bitmap means no null values.

source

pub fn shrink_to_fit(&mut self)

Shrink the capacity of this array to fit its length.

source

pub fn unpack_series_matching_type( &self, series: &Series ) -> Result<&ChunkedArray<T>, PolarsError>

Series to ChunkedArray

source

pub fn chunk_id( &self ) -> Map<Iter<'_, Box<dyn Array + 'static, Global>>, fn(_: &Box<dyn Array + 'static, Global>) -> usize>

Unique id representing the number of chunks

source

pub fn chunks(&self) -> &Vec<Box<dyn Array + 'static, Global>, Global>

A reference to the chunks

source

pub unsafe fn chunks_mut( &mut self ) -> &mut Vec<Box<dyn Array + 'static, Global>, Global>

A mutable reference to the chunks

Safety

The caller must ensure to not change the DataType or length of any of the chunks.

source

pub fn is_optimal_aligned(&self) -> bool

Returns true if contains a single chunk and has no null values

source

pub fn null_count(&self) -> usize

Count the null values.

source

pub fn is_null(&self) -> ChunkedArray<BooleanType>

Get a mask of the null values.

source

pub fn is_not_null(&self) -> ChunkedArray<BooleanType>

Get a mask of the valid values.

source

pub fn dtype(&self) -> &DataType

Get data type of ChunkedArray.

source

pub fn name(&self) -> &str

Name of the ChunkedArray.

source

pub fn ref_field(&self) -> &Field

Get a reference to the field.

source

pub fn rename(&mut self, name: &str)

Rename this ChunkedArray.

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn cont_slice( &self ) -> Result<&[<T as PolarsNumericType>::Native], PolarsError>

Contiguous slice

source

pub fn data_views( &self ) -> impl Iterator<Item = &[<T as PolarsNumericType>::Native]> + DoubleEndedIterator

Get slices of the underlying arrow data. NOTE: null values should be taken into account by the user of these slices as they are handled separately

source

pub fn into_no_null_iter( &self ) -> impl Iterator<Item = <T as PolarsNumericType>::Native> + Send + Sync + ExactSizeIterator + DoubleEndedIterator + TrustedLen

source§

impl ChunkedArray<ListType>

source

pub fn inner_dtype(&self) -> DataType

Get the inner data type of the list.

source

pub fn set_inner_dtype(&mut self, dtype: DataType)

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType,

source

pub fn new_vec( name: &str, v: Vec<<T as PolarsNumericType>::Native, Global> ) -> ChunkedArray<T>

Specialization that prevents an allocation prefer this over ChunkedArray::new when you have a Vec<T::Native> and no null values.

source§

impl<T> ChunkedArray<T>where T: PolarsNumericType, ChunkedArray<T>: IntoSeries,

We cannot override the left hand side behaviour. So we create a trait LhsNumOps. This allows for 1.add(&Series)

source

pub fn lhs_sub<N>(&self, lhs: N) -> ChunkedArray<T>where N: Num + NumCast,

Apply lhs - self

source

pub fn lhs_div<N>(&self, lhs: N) -> ChunkedArray<T>where N: Num + NumCast,

Apply lhs / self

source

pub fn lhs_rem<N>(&self, lhs: N) -> ChunkedArray<T>where N: Num + NumCast,

Apply lhs % self

Trait Implementations§

source§

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

Available on crate feature dtype-binary only.
§

type Output = ChunkedArray<BinaryType>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &[u8]) -> <&ChunkedArray<BinaryType> as Add<&[u8]>>::Output

Performs the + operation. Read more
source§

impl Add<&ChunkedArray<BinaryType>> for &ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
§

type Output = ChunkedArray<BinaryType>

The resulting type after applying the + operator.
source§

fn add( self, rhs: &ChunkedArray<BinaryType> ) -> <&ChunkedArray<BinaryType> as Add<&ChunkedArray<BinaryType>>>::Output

Performs the + operation. Read more
source§

impl<T> Add<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the + operator.
source§

fn add( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Add<&ChunkedArray<T>>>::Output

Performs the + operation. Read more
source§

impl Add<&ChunkedArray<Utf8Type>> for &ChunkedArray<Utf8Type>

§

type Output = ChunkedArray<Utf8Type>

The resulting type after applying the + operator.
source§

fn add( self, rhs: &ChunkedArray<Utf8Type> ) -> <&ChunkedArray<Utf8Type> as Add<&ChunkedArray<Utf8Type>>>::Output

Performs the + operation. Read more
source§

impl Add<&str> for &ChunkedArray<Utf8Type>

§

type Output = ChunkedArray<Utf8Type>

The resulting type after applying the + operator.
source§

fn add(self, rhs: &str) -> <&ChunkedArray<Utf8Type> as Add<&str>>::Output

Performs the + operation. Read more
source§

impl Add<ChunkedArray<BinaryType>> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
§

type Output = ChunkedArray<BinaryType>

The resulting type after applying the + operator.
source§

fn add( self, rhs: ChunkedArray<BinaryType> ) -> <ChunkedArray<BinaryType> as Add<ChunkedArray<BinaryType>>>::Output

Performs the + operation. Read more
source§

impl<T> Add<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the + operator.
source§

fn add( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Add<ChunkedArray<T>>>::Output

Performs the + operation. Read more
source§

impl Add<ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>

§

type Output = ChunkedArray<Utf8Type>

The resulting type after applying the + operator.
source§

fn add( self, rhs: ChunkedArray<Utf8Type> ) -> <ChunkedArray<Utf8Type> as Add<ChunkedArray<Utf8Type>>>::Output

Performs the + operation. Read more
source§

impl<T, N> Add<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the + operator.
source§

fn add(self, rhs: N) -> <&ChunkedArray<T> as Add<N>>::Output

Performs the + operation. Read more
source§

impl<T, N> Add<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the + operator.
source§

fn add(self, rhs: N) -> <ChunkedArray<T> as Add<N>>::Output

Performs the + operation. Read more
source§

impl AggList for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

unsafe fn agg_list(&self, groups: &GroupsProxy) -> Series

Safety Read more
source§

impl AggList for ChunkedArray<BooleanType>

source§

unsafe fn agg_list(&self, groups: &GroupsProxy) -> Series

Safety Read more
source§

impl AggList for ChunkedArray<ListType>

source§

unsafe fn agg_list(&self, groups: &GroupsProxy) -> Series

Safety Read more
source§

impl<T> AggList for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

unsafe fn agg_list(&self, groups: &GroupsProxy) -> Series

Safety Read more
source§

impl<T> AggList for ChunkedArray<T>where T: PolarsNumericType, ChunkedArray<T>: IntoSeries,

source§

unsafe fn agg_list(&self, groups: &GroupsProxy) -> Series

Safety Read more
source§

impl AggList for ChunkedArray<Utf8Type>

source§

unsafe fn agg_list(&self, groups: &GroupsProxy) -> Series

Safety Read more
source§

impl AsBinary for ChunkedArray<BinaryType>

source§

impl AsList for ChunkedArray<ListType>

source§

impl<'a, T> AsMut<ChunkedArray<T>> for dyn SeriesTrait + 'awhere T: 'static + PolarsDataType,

source§

fn as_mut(&mut self) -> &mut ChunkedArray<T>

Converts this type into a mutable reference of the (usually inferred) input type.
source§

impl<T> AsRef<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsDataType,

source§

fn as_ref(&self) -> &ChunkedArray<T>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl<'a, T> AsRef<ChunkedArray<T>> for dyn SeriesTrait + 'awhere T: 'static + PolarsDataType,

source§

fn as_ref(&self) -> &ChunkedArray<T>

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsUtf8 for ChunkedArray<Utf8Type>

source§

impl AsUtf8 for ChunkedArray<Utf8Type>

source§

impl BinaryNameSpaceImpl for ChunkedArray<BinaryType>

source§

fn contains(&self, lit: &[u8]) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if binary contains given literal
source§

fn contains_literal( &self, lit: &[u8] ) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if strings contain a given literal
source§

fn ends_with(&self, sub: &[u8]) -> ChunkedArray<BooleanType>

Check if strings ends with a substring
source§

fn starts_with(&self, sub: &[u8]) -> ChunkedArray<BooleanType>

Check if strings starts with a substring
source§

impl BitAnd<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the & operator.
source§

fn bitand( self, rhs: &ChunkedArray<BooleanType> ) -> <&ChunkedArray<BooleanType> as BitAnd<&ChunkedArray<BooleanType>>>::Output

Performs the & operation. Read more
source§

impl<T> BitAnd<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: BitAnd<<T as PolarsNumericType>::Native, Output = <T as PolarsNumericType>::Native>,

§

type Output = ChunkedArray<T>

The resulting type after applying the & operator.
source§

fn bitand( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as BitAnd<&ChunkedArray<T>>>::Output

Performs the & operation. Read more
source§

impl BitAnd<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the & operator.
source§

fn bitand( self, rhs: ChunkedArray<BooleanType> ) -> <ChunkedArray<BooleanType> as BitAnd<ChunkedArray<BooleanType>>>::Output

Performs the & operation. Read more
source§

impl BitOr<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the | operator.
source§

fn bitor( self, rhs: &ChunkedArray<BooleanType> ) -> <&ChunkedArray<BooleanType> as BitOr<&ChunkedArray<BooleanType>>>::Output

Performs the | operation. Read more
source§

impl<T> BitOr<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: BitOr<<T as PolarsNumericType>::Native, Output = <T as PolarsNumericType>::Native>,

§

type Output = ChunkedArray<T>

The resulting type after applying the | operator.
source§

fn bitor( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as BitOr<&ChunkedArray<T>>>::Output

Performs the | operation. Read more
source§

impl BitOr<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the | operator.
source§

fn bitor( self, rhs: ChunkedArray<BooleanType> ) -> <ChunkedArray<BooleanType> as BitOr<ChunkedArray<BooleanType>>>::Output

Performs the | operation. Read more
source§

impl BitXor<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the ^ operator.
source§

fn bitxor( self, rhs: &ChunkedArray<BooleanType> ) -> <&ChunkedArray<BooleanType> as BitXor<&ChunkedArray<BooleanType>>>::Output

Performs the ^ operation. Read more
source§

impl<T> BitXor<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: BitXor<<T as PolarsNumericType>::Native, Output = <T as PolarsNumericType>::Native>,

§

type Output = ChunkedArray<T>

The resulting type after applying the ^ operator.
source§

fn bitxor( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as BitXor<&ChunkedArray<T>>>::Output

Performs the ^ operation. Read more
source§

impl BitXor<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the ^ operator.
source§

fn bitxor( self, rhs: ChunkedArray<BooleanType> ) -> <ChunkedArray<BooleanType> as BitXor<ChunkedArray<BooleanType>>>::Output

Performs the ^ operation. Read more
source§

impl<T> ChunkAgg<<T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsNumericType, <<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd, Output = <<T as PolarsNumericType>::Native as Simd>::Simd> + Sum<<T as PolarsNumericType>::Native> + SimdOrd<<T as PolarsNumericType>::Native>,

source§

fn sum(&self) -> Option<<T as PolarsNumericType>::Native>

Aggregate the sum of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

fn min(&self) -> Option<<T as PolarsNumericType>::Native>

source§

fn max(&self) -> Option<<T as PolarsNumericType>::Native>

Returns the maximum value in the array, according to the natural order. Returns None if the array is empty or only contains null values.
source§

fn mean(&self) -> Option<f64>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

impl ChunkAgg<u32> for ChunkedArray<BooleanType>

Booleans are casted to 1 or 0.

source§

fn sum(&self) -> Option<u32>

Returns None if the array is empty or only contains null values.

source§

fn min(&self) -> Option<u32>

source§

fn max(&self) -> Option<u32>

Returns the maximum value in the array, according to the natural order. Returns None if the array is empty or only contains null values.
source§

fn mean(&self) -> Option<f64>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

impl ChunkAggSeries for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn sum_as_series(&self) -> Series

Get the sum of the ChunkedArray as a new Series of length 1.
source§

fn max_as_series(&self) -> Series

Get the max of the ChunkedArray as a new Series of length 1.
source§

fn min_as_series(&self) -> Series

Get the min of the ChunkedArray as a new Series of length 1.
source§

fn prod_as_series(&self) -> Series

Get the product of the ChunkedArray as a new Series of length 1.
source§

impl ChunkAggSeries for ChunkedArray<BooleanType>

source§

fn sum_as_series(&self) -> Series

Get the sum of the ChunkedArray as a new Series of length 1.
source§

fn max_as_series(&self) -> Series

Get the max of the ChunkedArray as a new Series of length 1.
source§

fn min_as_series(&self) -> Series

Get the min of the ChunkedArray as a new Series of length 1.
source§

fn prod_as_series(&self) -> Series

Get the product of the ChunkedArray as a new Series of length 1.
source§

impl ChunkAggSeries for ChunkedArray<ListType>

source§

fn sum_as_series(&self) -> Series

Get the sum of the ChunkedArray as a new Series of length 1.
source§

fn max_as_series(&self) -> Series

Get the max of the ChunkedArray as a new Series of length 1.
source§

fn min_as_series(&self) -> Series

Get the min of the ChunkedArray as a new Series of length 1.
source§

fn prod_as_series(&self) -> Series

Get the product of the ChunkedArray as a new Series of length 1.
source§

impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn sum_as_series(&self) -> Series

Get the sum of the ChunkedArray as a new Series of length 1.
source§

fn max_as_series(&self) -> Series

Get the max of the ChunkedArray as a new Series of length 1.
source§

fn min_as_series(&self) -> Series

Get the min of the ChunkedArray as a new Series of length 1.
source§

fn prod_as_series(&self) -> Series

Get the product of the ChunkedArray as a new Series of length 1.
source§

impl<T> ChunkAggSeries for ChunkedArray<T>where T: PolarsNumericType, <<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd, Output = <<T as PolarsNumericType>::Native as Simd>::Simd> + Sum<<T as PolarsNumericType>::Native> + SimdOrd<<T as PolarsNumericType>::Native>, ChunkedArray<T>: IntoSeries,

source§

fn sum_as_series(&self) -> Series

Get the sum of the ChunkedArray as a new Series of length 1.
source§

fn max_as_series(&self) -> Series

Get the max of the ChunkedArray as a new Series of length 1.
source§

fn min_as_series(&self) -> Series

Get the min of the ChunkedArray as a new Series of length 1.
source§

fn prod_as_series(&self) -> Series

Get the product of the ChunkedArray as a new Series of length 1.
source§

impl ChunkAggSeries for ChunkedArray<Utf8Type>

source§

fn sum_as_series(&self) -> Series

Get the sum of the ChunkedArray as a new Series of length 1.
source§

fn max_as_series(&self) -> Series

Get the max of the ChunkedArray as a new Series of length 1.
source§

fn min_as_series(&self) -> Series

Get the min of the ChunkedArray as a new Series of length 1.
source§

fn prod_as_series(&self) -> Series

Get the product of the ChunkedArray as a new Series of length 1.
source§

impl ChunkAnyValue for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>

Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
source§

fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>

Get a single value. Beware this is slow.
source§

impl ChunkAnyValue for ChunkedArray<BooleanType>

source§

unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>

Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
source§

fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>

Get a single value. Beware this is slow.
source§

impl ChunkAnyValue for ChunkedArray<ListType>

source§

unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>

Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
source§

fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>

Get a single value. Beware this is slow.
source§

impl<T> ChunkAnyValue for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>

Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
source§

fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>

Get a single value. Beware this is slow.
source§

impl<T> ChunkAnyValue for ChunkedArray<T>where T: PolarsNumericType,

source§

unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>

Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
source§

fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>

Get a single value. Beware this is slow.
source§

impl ChunkAnyValue for ChunkedArray<Utf8Type>

source§

unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>

Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
source§

fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>

Get a single value. Beware this is slow.
source§

impl<'a> ChunkApply<'a, &'a [u8], Cow<'a, [u8]>> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn apply_cast_numeric<F, S>(&'a self, f: F) -> ChunkedArray<S>where F: Fn(&'a [u8]) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
source§

fn branch_apply_cast_numeric_no_null<F, S>(&'a self, f: F) -> ChunkedArray<S>where F: Fn(Option<&'a [u8]>) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
source§

fn apply<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where F: Fn(&'a [u8]) -> Cow<'a, [u8]> + Copy,

Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
source§

fn try_apply<F>(&'a self, f: F) -> Result<ChunkedArray<BinaryType>, PolarsError>where F: Fn(&'a [u8]) -> Result<Cow<'a, [u8]>, PolarsError> + Copy,

source§

fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where F: Fn(Option<&'a [u8]>) -> Option<Cow<'a, [u8]>> + Copy,

Apply a closure elementwise including null values.
source§

fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where F: Fn((usize, &'a [u8])) -> Cow<'a, [u8]> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where F: Fn((usize, Option<&'a [u8]>)) -> Option<Cow<'a, [u8]>> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_to_slice<F, T>(&'a self, f: F, slice: &mut [T])where F: Fn(Option<&'a [u8]>, &T) -> T,

Apply a closure elementwise and write results to a mutable slice.
source§

impl<'a, T> ChunkApply<'a, &'a T, T> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn apply_cast_numeric<F, S>(&'a self, _f: F) -> ChunkedArray<S>where F: Fn(&'a T) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
source§

fn branch_apply_cast_numeric_no_null<F, S>(&'a self, _f: F) -> ChunkedArray<S>where F: Fn(Option<&'a T>) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
source§

fn apply<F>(&'a self, f: F) -> ChunkedArray<ObjectType<T>>where F: Fn(&'a T) -> T + Copy,

Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
source§

fn try_apply<F>( &'a self, _f: F ) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>where F: Fn(&'a T) -> Result<T, PolarsError> + Copy,

source§

fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<ObjectType<T>>where F: Fn(Option<&'a T>) -> Option<T> + Copy,

Apply a closure elementwise including null values.
source§

fn apply_with_idx<F>(&'a self, _f: F) -> ChunkedArray<ObjectType<T>>where F: Fn((usize, &'a T)) -> T + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_with_idx_on_opt<F>(&'a self, _f: F) -> ChunkedArray<ObjectType<T>>where F: Fn((usize, Option<&'a T>)) -> Option<T> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_to_slice<F, V>(&'a self, f: F, slice: &mut [V])where F: Fn(Option<&'a T>, &V) -> V,

Apply a closure elementwise and write results to a mutable slice.
source§

impl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for ChunkedArray<Utf8Type>

source§

fn apply_cast_numeric<F, S>(&'a self, f: F) -> ChunkedArray<S>where F: Fn(&'a str) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
source§

fn branch_apply_cast_numeric_no_null<F, S>(&'a self, f: F) -> ChunkedArray<S>where F: Fn(Option<&'a str>) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
source§

fn apply<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where F: Fn(&'a str) -> Cow<'a, str> + Copy,

Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
source§

fn try_apply<F>(&'a self, f: F) -> Result<ChunkedArray<Utf8Type>, PolarsError>where F: Fn(&'a str) -> Result<Cow<'a, str>, PolarsError> + Copy,

source§

fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where F: Fn(Option<&'a str>) -> Option<Cow<'a, str>> + Copy,

Apply a closure elementwise including null values.
source§

fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where F: Fn((usize, Option<&'a str>)) -> Option<Cow<'a, str>> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_to_slice<F, T>(&'a self, f: F, slice: &mut [T])where F: Fn(Option<&'a str>, &T) -> T,

Apply a closure elementwise and write results to a mutable slice.
source§

impl<'a, T> ChunkApply<'a, <T as PolarsNumericType>::Native, <T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(<T as PolarsNumericType>::Native) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
source§

fn branch_apply_cast_numeric_no_null<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(Option<<T as PolarsNumericType>::Native>) -> <S as PolarsNumericType>::Native, S: PolarsNumericType,

Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
source§

fn apply<F>(&'a self, f: F) -> ChunkedArray<T>where F: Fn(<T as PolarsNumericType>::Native) -> <T as PolarsNumericType>::Native + Copy,

Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
source§

fn try_apply<F>(&'a self, f: F) -> Result<ChunkedArray<T>, PolarsError>where F: Fn(<T as PolarsNumericType>::Native) -> Result<<T as PolarsNumericType>::Native, PolarsError> + Copy,

source§

fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<T>where F: Fn(Option<<T as PolarsNumericType>::Native>) -> Option<<T as PolarsNumericType>::Native> + Copy,

Apply a closure elementwise including null values.
source§

fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<T>where F: Fn((usize, <T as PolarsNumericType>::Native)) -> <T as PolarsNumericType>::Native + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<T>where F: Fn((usize, Option<<T as PolarsNumericType>::Native>)) -> Option<<T as PolarsNumericType>::Native> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_to_slice<F, V>(&'a self, f: F, slice: &mut [V])where F: Fn(Option<<T as PolarsNumericType>::Native>, &V) -> V,

Apply a closure elementwise and write results to a mutable slice.
source§

impl<'a> ChunkApply<'a, Series, Series> for ChunkedArray<ListType>

source§

fn apply<F>(&'a self, f: F) -> ChunkedArray<ListType>where F: Fn(Series) -> Series + Copy,

Apply a closure F elementwise.

source§

fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<ListType>where F: Fn((usize, Series)) -> Series + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.

source§

fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<ListType>where F: Fn((usize, Option<Series>)) -> Option<Series> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.

source§

fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(Series) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
source§

fn branch_apply_cast_numeric_no_null<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(Option<Series>) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
source§

fn try_apply<F>(&'a self, f: F) -> Result<ChunkedArray<ListType>, PolarsError>where F: Fn(Series) -> Result<Series, PolarsError> + Copy,

source§

fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<ListType>where F: Fn(Option<Series>) -> Option<Series> + Copy,

Apply a closure elementwise including null values.
source§

fn apply_to_slice<F, T>(&'a self, f: F, slice: &mut [T])where F: Fn(Option<Series>, &T) -> T,

Apply a closure elementwise and write results to a mutable slice.
source§

impl<'a> ChunkApply<'a, bool, bool> for ChunkedArray<BooleanType>

source§

fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(bool) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
source§

fn branch_apply_cast_numeric_no_null<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(Option<bool>) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,

Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
source§

fn apply<F>(&self, f: F) -> ChunkedArray<BooleanType>where F: Fn(bool) -> bool + Copy,

Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
source§

fn try_apply<F>(&self, f: F) -> Result<ChunkedArray<BooleanType>, PolarsError>where F: Fn(bool) -> Result<bool, PolarsError> + Copy,

source§

fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where F: Fn(Option<bool>) -> Option<bool> + Copy,

Apply a closure elementwise including null values.
source§

fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where F: Fn((usize, bool)) -> bool + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where F: Fn((usize, Option<bool>)) -> Option<bool> + Copy,

Apply a closure elementwise. The closure gets the index of the element as first argument.
source§

fn apply_to_slice<F, T>(&'a self, f: F, slice: &mut [T])where F: Fn(Option<bool>, &T) -> T,

Apply a closure elementwise and write results to a mutable slice.
source§

impl ChunkApplyKernel<BinaryArray<i64>> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn apply_kernel( &self, f: &dyn Fn(&BinaryArray<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<BinaryType>

Apply kernel and return result as a new ChunkedArray.
source§

fn apply_kernel_cast<S>( &self, f: &dyn Fn(&BinaryArray<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,

Apply a kernel that outputs an array of different type.
source§

impl ChunkApplyKernel<BooleanArray> for ChunkedArray<BooleanType>

source§

fn apply_kernel( &self, f: &dyn Fn(&BooleanArray) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<BooleanType>

Apply kernel and return result as a new ChunkedArray.
source§

fn apply_kernel_cast<S>( &self, f: &dyn Fn(&BooleanArray) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,

Apply a kernel that outputs an array of different type.
source§

impl<T> ChunkApplyKernel<PrimitiveArray<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn apply_kernel( &self, f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<T>

Apply kernel and return result as a new ChunkedArray.
source§

fn apply_kernel_cast<S>( &self, f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,

Apply a kernel that outputs an array of different type.
source§

impl ChunkApplyKernel<Utf8Array<i64>> for ChunkedArray<Utf8Type>

source§

fn apply_kernel( &self, f: &dyn Fn(&Utf8Array<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<Utf8Type>

Apply kernel and return result as a new ChunkedArray.
source§

fn apply_kernel_cast<S>( &self, f: &dyn Fn(&Utf8Array<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,

Apply a kernel that outputs an array of different type.
source§

impl ChunkCast for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>

Cast a [ChunkedArray] to [DataType]
source§

fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>

Does not check if the cast is a valid one and may over/underflow
source§

impl ChunkCast for ChunkedArray<BooleanType>

source§

fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>

Cast a [ChunkedArray] to [DataType]
source§

fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>

Does not check if the cast is a valid one and may over/underflow
source§

impl ChunkCast for ChunkedArray<ListType>

We cannot cast anything to or from List/LargeList So this implementation casts the inner type

source§

fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>

Cast a [ChunkedArray] to [DataType]
source§

fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>

Does not check if the cast is a valid one and may over/underflow
source§

impl<T> ChunkCast for ChunkedArray<T>where T: PolarsNumericType,

source§

fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>

Cast a [ChunkedArray] to [DataType]
source§

fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>

Does not check if the cast is a valid one and may over/underflow
source§

impl ChunkCast for ChunkedArray<Utf8Type>

source§

fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>

Cast a [ChunkedArray] to [DataType]
source§

fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>

Does not check if the cast is a valid one and may over/underflow
source§

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

Available on crate feature dtype-binary only.
§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl ChunkCompare<&ChunkedArray<BinaryType>> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl ChunkCompare<&ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>

§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl ChunkCompare<&ChunkedArray<ListType>> for ChunkedArray<ListType>

§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl<T> ChunkCompare<&ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,

§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl ChunkCompare<&ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>

§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl ChunkCompare<&str> for ChunkedArray<Utf8Type>

§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: &str) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: &str) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, rhs: &str) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, rhs: &str) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl<T, Rhs> ChunkCompare<Rhs> for ChunkedArray<T>where T: PolarsNumericType, Rhs: ToPrimitive,

§

type Item = ChunkedArray<BooleanType>

source§

fn equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>

Check for equality.
source§

fn not_equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>

Check for inequality.
source§

fn gt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>

Greater than comparison.
source§

fn gt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>

Greater than or equal comparison.
source§

fn lt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>

Less than comparison.
source§

fn lt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>

Less than or equal comparison
source§

impl<T> ChunkCumAgg<T> for ChunkedArray<T>where T: PolarsNumericType, ChunkedArray<T>: FromIterator<Option<<T as PolarsNumericType>::Native>>,

source§

fn cummax(&self, reverse: bool) -> ChunkedArray<T>

Get an array with the cumulative max computed at every element
source§

fn cummin(&self, reverse: bool) -> ChunkedArray<T>

Get an array with the cumulative min computed at every element
source§

fn cumsum(&self, reverse: bool) -> ChunkedArray<T>

Get an array with the cumulative sum computed at every element
source§

fn cumprod(&self, reverse: bool) -> ChunkedArray<T>

Get an array with the cumulative product computed at every element
source§

impl ChunkExpandAtIndex<BinaryType> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<BinaryType>

Create a new ChunkedArray filled with values at that index.
source§

impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>

source§

fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<BooleanType>

Create a new ChunkedArray filled with values at that index.
source§

impl ChunkExpandAtIndex<ListType> for ChunkedArray<ListType>

source§

fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<ListType>

Create a new ChunkedArray filled with values at that index.
source§

impl<T> ChunkExpandAtIndex<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn new_from_index( &self, index: usize, length: usize ) -> ChunkedArray<ObjectType<T>>

Create a new ChunkedArray filled with values at that index.
source§

impl<T> ChunkExpandAtIndex<T> for ChunkedArray<T>where T: PolarsDataType + PolarsNumericType, ChunkedArray<T>: ChunkFull<<T as PolarsNumericType>::Native> + TakeRandom<Item = <T as PolarsNumericType>::Native>,

source§

fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<T>

Create a new ChunkedArray filled with values at that index.
source§

impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>

Create a new ChunkedArray filled with values at that index.
source§

impl ChunkExplode for ChunkedArray<ListType>

source§

impl ChunkExplode for ChunkedArray<Utf8Type>

source§

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

Available on crate feature dtype-binary only.
source§

fn fill_null_with_values( &self, value: &[u8] ) -> Result<ChunkedArray<BinaryType>, PolarsError>

Replace None values with a give value T.
source§

impl<T> ChunkFillNullValue<<T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn fill_null_with_values( &self, value: <T as PolarsNumericType>::Native ) -> Result<ChunkedArray<T>, PolarsError>

Replace None values with a give value T.
source§

impl ChunkFillNullValue<bool> for ChunkedArray<BooleanType>

source§

fn fill_null_with_values( &self, value: bool ) -> Result<ChunkedArray<BooleanType>, PolarsError>

Replace None values with a give value T.
source§

impl ChunkFilter<BinaryType> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<BinaryType>, PolarsError>

Filter values in the ChunkedArray with a boolean mask. Read more
source§

impl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>

source§

fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<BooleanType>, PolarsError>

Filter values in the ChunkedArray with a boolean mask. Read more
source§

impl ChunkFilter<ListType> for ChunkedArray<ListType>

source§

fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<ListType>, PolarsError>

Filter values in the ChunkedArray with a boolean mask. Read more
source§

impl<T> ChunkFilter<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>where ChunkedArray<ObjectType<T>>: Sized,

Filter values in the ChunkedArray with a boolean mask. Read more
source§

impl<T> ChunkFilter<T> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<T>, PolarsError>

Filter values in the ChunkedArray with a boolean mask. Read more
source§

impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Filter values in the ChunkedArray with a boolean mask. Read more
source§

impl<'a> ChunkFull<&'a [u8]> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn full(name: &str, value: &'a [u8], length: usize) -> ChunkedArray<BinaryType>

Create a ChunkedArray with a single value.
source§

impl<'a> ChunkFull<&'a str> for ChunkedArray<Utf8Type>

source§

fn full(name: &str, value: &'a str, length: usize) -> ChunkedArray<Utf8Type>

Create a ChunkedArray with a single value.
source§

impl ChunkFull<&Series> for ChunkedArray<ListType>

source§

fn full(name: &str, value: &Series, length: usize) -> ChunkedArray<ListType>

Create a ChunkedArray with a single value.
source§

impl<T> ChunkFull<<T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn full( name: &str, value: <T as PolarsNumericType>::Native, length: usize ) -> ChunkedArray<T>

Create a ChunkedArray with a single value.
source§

impl<T> ChunkFull<T> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn full(name: &str, value: T, length: usize) -> ChunkedArray<ObjectType<T>>where ChunkedArray<ObjectType<T>>: Sized,

Create a ChunkedArray with a single value.
source§

impl ChunkFull<bool> for ChunkedArray<BooleanType>

source§

fn full(name: &str, value: bool, length: usize) -> ChunkedArray<BooleanType>

Create a ChunkedArray with a single value.
source§

impl ChunkFullNull for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

impl ChunkFullNull for ChunkedArray<BooleanType>

source§

impl ChunkFullNull for ChunkedArray<ListType>

source§

impl<T> ChunkFullNull for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

impl<T> ChunkFullNull for ChunkedArray<T>where T: PolarsNumericType,

source§

fn full_null(name: &str, length: usize) -> ChunkedArray<T>

source§

impl ChunkFullNull for ChunkedArray<Utf8Type>

source§

impl<T> ChunkPeaks for ChunkedArray<T>where T: PolarsNumericType,

source§

fn peak_max(&self) -> ChunkedArray<BooleanType>

Get a boolean mask of the local maximum peaks.

source§

fn peak_min(&self) -> ChunkedArray<BooleanType>

Get a boolean mask of the local minimum peaks.

source§

impl ChunkQuantile<Series> for ChunkedArray<ListType>

source§

fn median(&self) -> Option<T>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

impl<T> ChunkQuantile<Series> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn median(&self) -> Option<T>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

impl ChunkQuantile<String> for ChunkedArray<Utf8Type>

source§

fn median(&self) -> Option<T>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

impl ChunkQuantile<bool> for ChunkedArray<BooleanType>

source§

fn median(&self) -> Option<T>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

impl ChunkQuantile<f32> for ChunkedArray<Float32Type>

source§

fn quantile( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Option<f32>, PolarsError>

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

fn median(&self) -> Option<f32>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

impl ChunkQuantile<f64> for ChunkedArray<Float64Type>

source§

fn quantile( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Option<f64>, PolarsError>

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

fn median(&self) -> Option<f64>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

impl<T> ChunkQuantile<f64> for ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: Ord, <<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd, Output = <<T as PolarsNumericType>::Native as Simd>::Simd> + Sum<<T as PolarsNumericType>::Native> + SimdOrd<<T as PolarsNumericType>::Native>,

source§

fn quantile( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Option<f64>, PolarsError>

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
source§

fn median(&self) -> Option<f64>

Returns the mean value in the array. Returns None if the array is empty or only contains null values.
source§

impl ChunkReverse<BinaryType> for ChunkedArray<BinaryType>

source§

fn reverse(&self) -> ChunkedArray<BinaryType>

Return a reversed version of this array.
source§

impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>

source§

fn reverse(&self) -> ChunkedArray<BooleanType>

Return a reversed version of this array.
source§

impl ChunkReverse<ListType> for ChunkedArray<ListType>

source§

fn reverse(&self) -> ChunkedArray<ListType>

Return a reversed version of this array.
source§

impl<T> ChunkReverse<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn reverse(&self) -> ChunkedArray<ObjectType<T>>

Return a reversed version of this array.
source§

impl<T> ChunkReverse<T> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn reverse(&self) -> ChunkedArray<T>

Return a reversed version of this array.
source§

impl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn reverse(&self) -> ChunkedArray<Utf8Type>

Return a reversed version of this array.
source§

impl<T> ChunkRollApply for ChunkedArray<T>where T: PolarsNumericType, ChunkedArray<T>: IntoSeries,

source§

fn rolling_apply( &self, f: &dyn Fn(&Series) -> Series, options: RollingOptionsFixedWindow ) -> Result<Series, PolarsError>

Apply a rolling custom function. This is pretty slow because of dynamic dispatch.

source§

impl<'a> ChunkSet<'a, &'a [u8], Vec<u8, Global>> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn set_at_idx<I>( &'a self, idx: I, opt_value: Option<&'a [u8]> ) -> Result<ChunkedArray<BinaryType>, PolarsError>where I: IntoIterator<Item = u32>, ChunkedArray<BinaryType>: Sized,

Set the values at indexes idx to some optional value Option<T>. Read more
source§

fn set_at_idx_with<I, F>( &'a self, idx: I, f: F ) -> Result<ChunkedArray<BinaryType>, PolarsError>where I: IntoIterator<Item = u32>, ChunkedArray<BinaryType>: Sized, F: Fn(Option<&'a [u8]>) -> Option<Vec<u8, Global>>,

Set the values at indexes idx by applying a closure to these values. Read more
source§

fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<&'a [u8]> ) -> Result<ChunkedArray<BinaryType>, PolarsError>where ChunkedArray<BinaryType>: Sized,

Set the values where the mask evaluates to true to some optional value Option<T>. Read more
source§

impl<'a> ChunkSet<'a, &'a str, String> for ChunkedArray<Utf8Type>

source§

fn set_at_idx<I>( &'a self, idx: I, opt_value: Option<&'a str> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>where I: IntoIterator<Item = u32>, ChunkedArray<Utf8Type>: Sized,

Set the values at indexes idx to some optional value Option<T>. Read more
source§

fn set_at_idx_with<I, F>( &'a self, idx: I, f: F ) -> Result<ChunkedArray<Utf8Type>, PolarsError>where I: IntoIterator<Item = u32>, ChunkedArray<Utf8Type>: Sized, F: Fn(Option<&'a str>) -> Option<String>,

Set the values at indexes idx by applying a closure to these values. Read more
source§

fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<&'a str> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>where ChunkedArray<Utf8Type>: Sized,

Set the values where the mask evaluates to true to some optional value Option<T>. Read more
source§

impl<'a, T> ChunkSet<'a, <T as PolarsNumericType>::Native, <T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn set_at_idx<I>( &'a self, idx: I, value: Option<<T as PolarsNumericType>::Native> ) -> Result<ChunkedArray<T>, PolarsError>where I: IntoIterator<Item = u32>,

Set the values at indexes idx to some optional value Option<T>. Read more
source§

fn set_at_idx_with<I, F>( &'a self, idx: I, f: F ) -> Result<ChunkedArray<T>, PolarsError>where I: IntoIterator<Item = u32>, F: Fn(Option<<T as PolarsNumericType>::Native>) -> Option<<T as PolarsNumericType>::Native>,

Set the values at indexes idx by applying a closure to these values. Read more
source§

fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<<T as PolarsNumericType>::Native> ) -> Result<ChunkedArray<T>, PolarsError>

Set the values where the mask evaluates to true to some optional value Option<T>. Read more
source§

impl<'a> ChunkSet<'a, bool, bool> for ChunkedArray<BooleanType>

source§

fn set_at_idx<I>( &'a self, idx: I, value: Option<bool> ) -> Result<ChunkedArray<BooleanType>, PolarsError>where I: IntoIterator<Item = u32>,

Set the values at indexes idx to some optional value Option<T>. Read more
source§

fn set_at_idx_with<I, F>( &'a self, idx: I, f: F ) -> Result<ChunkedArray<BooleanType>, PolarsError>where I: IntoIterator<Item = u32>, F: Fn(Option<bool>) -> Option<bool>,

Set the values at indexes idx by applying a closure to these values. Read more
source§

fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<bool> ) -> Result<ChunkedArray<BooleanType>, PolarsError>

Set the values where the mask evaluates to true to some optional value Option<T>. Read more
source§

impl ChunkShift<BinaryType> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn shift(&self, periods: i64) -> ChunkedArray<BinaryType>

source§

impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>

source§

fn shift(&self, periods: i64) -> ChunkedArray<BooleanType>

source§

impl ChunkShift<ListType> for ChunkedArray<ListType>

source§

fn shift(&self, periods: i64) -> ChunkedArray<ListType>

source§

impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn shift(&self, periods: i64) -> ChunkedArray<ObjectType<T>>

source§

impl<T> ChunkShift<T> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn shift(&self, periods: i64) -> ChunkedArray<T>

source§

impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn shift(&self, periods: i64) -> ChunkedArray<Utf8Type>

source§

impl ChunkShiftFill<BinaryType, Option<&[u8]>> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn shift_and_fill( &self, periods: i64, fill_value: Option<&[u8]> ) -> ChunkedArray<BinaryType>

Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.
source§

impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>

source§

fn shift_and_fill( &self, periods: i64, fill_value: Option<bool> ) -> ChunkedArray<BooleanType>

Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.
source§

impl ChunkShiftFill<ListType, Option<&Series>> for ChunkedArray<ListType>

source§

fn shift_and_fill( &self, periods: i64, fill_value: Option<&Series> ) -> ChunkedArray<ListType>

Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.
source§

impl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn shift_and_fill( &self, _periods: i64, _fill_value: Option<ObjectType<T>> ) -> ChunkedArray<ObjectType<T>>

Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.
source§

impl<T> ChunkShiftFill<T, Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn shift_and_fill( &self, periods: i64, fill_value: Option<<T as PolarsNumericType>::Native> ) -> ChunkedArray<T>

Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.
source§

impl ChunkShiftFill<Utf8Type, Option<&str>> for ChunkedArray<Utf8Type>

source§

fn shift_and_fill( &self, periods: i64, fill_value: Option<&str> ) -> ChunkedArray<Utf8Type>

Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.
source§

impl ChunkSort<BinaryType> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn argsort_multiple( &self, other: &[Series], reverse: &[bool] ) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Panics

This function is very opinionated. On the implementation of ChunkedArray<T> for numeric types, we assume that all numeric Series are of the same type.

In this case we assume that all numeric Series are f64 types. The caller needs to uphold this contract. If not, it will panic.

source§

fn sort_with(&self, options: SortOptions) -> ChunkedArray<BinaryType>

source§

fn sort(&self, reverse: bool) -> ChunkedArray<BinaryType>

Returned a sorted ChunkedArray.
source§

fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>

Retrieve the indexes needed to sort this array.
source§

impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>

source§

fn sort_with(&self, options: SortOptions) -> ChunkedArray<BooleanType>

source§

fn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>

Returned a sorted ChunkedArray.
source§

fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>

Retrieve the indexes needed to sort this array.
source§

fn argsort_multiple( &self, _other: &[Series], _reverse: &[bool] ) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Retrieve the indexes need to sort this and the other arrays.
source§

impl ChunkSort<Float32Type> for ChunkedArray<Float32Type>

source§

fn argsort_multiple( &self, other: &[Series], reverse: &[bool] ) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Panics

This function is very opinionated. We assume that all numeric Series are of the same type, if not it will panic

source§

fn sort_with(&self, options: SortOptions) -> ChunkedArray<Float32Type>

source§

fn sort(&self, reverse: bool) -> ChunkedArray<Float32Type>

Returned a sorted ChunkedArray.
source§

fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>

Retrieve the indexes needed to sort this array.
source§

impl ChunkSort<Float64Type> for ChunkedArray<Float64Type>

source§

fn argsort_multiple( &self, other: &[Series], reverse: &[bool] ) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Panics

This function is very opinionated. We assume that all numeric Series are of the same type, if not it will panic

source§

fn sort_with(&self, options: SortOptions) -> ChunkedArray<Float64Type>

source§

fn sort(&self, reverse: bool) -> ChunkedArray<Float64Type>

Returned a sorted ChunkedArray.
source§

fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>

Retrieve the indexes needed to sort this array.
source§

impl<T> ChunkSort<T> for ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: Default + Ord,

source§

fn argsort_multiple( &self, other: &[Series], reverse: &[bool] ) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Panics

This function is very opinionated. We assume that all numeric Series are of the same type, if not it will panic

source§

fn sort_with(&self, options: SortOptions) -> ChunkedArray<T>

source§

fn sort(&self, reverse: bool) -> ChunkedArray<T>

Returned a sorted ChunkedArray.
source§

fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>

Retrieve the indexes needed to sort this array.
source§

impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn argsort_multiple( &self, other: &[Series], reverse: &[bool] ) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Panics

This function is very opinionated. On the implementation of ChunkedArray<T> for numeric types, we assume that all numeric Series are of the same type.

In this case we assume that all numeric Series are f64 types. The caller needs to uphold this contract. If not, it will panic.

source§

fn sort_with(&self, options: SortOptions) -> ChunkedArray<Utf8Type>

source§

fn sort(&self, reverse: bool) -> ChunkedArray<Utf8Type>

Returned a sorted ChunkedArray.
source§

fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>

Retrieve the indexes needed to sort this array.
source§

impl ChunkTake for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<BinaryType>where ChunkedArray<BinaryType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Read more
source§

fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<BinaryType>, PolarsError>where ChunkedArray<BinaryType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.
source§

impl ChunkTake for ChunkedArray<BooleanType>

source§

unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<BooleanType>where ChunkedArray<BooleanType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Read more
source§

fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<BooleanType>, PolarsError>where ChunkedArray<BooleanType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.
source§

impl ChunkTake for ChunkedArray<ListType>

source§

unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<ListType>where ChunkedArray<ListType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Read more
source§

fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<ListType>, PolarsError>where ChunkedArray<ListType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.
source§

impl<T> ChunkTake for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<ObjectType<T>>where ChunkedArray<ObjectType<T>>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Read more
source§

fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>where ChunkedArray<ObjectType<T>>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.
source§

impl<T> ChunkTake for ChunkedArray<T>where T: PolarsNumericType,

source§

unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<T>where ChunkedArray<T>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Read more
source§

fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<T>, PolarsError>where ChunkedArray<T>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.
source§

impl ChunkTake for ChunkedArray<Utf8Type>

source§

unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<Utf8Type>where ChunkedArray<Utf8Type>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Read more
source§

fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>where ChunkedArray<Utf8Type>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,

Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.
source§

impl ChunkTakeEvery<BinaryType> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn take_every(&self, n: usize) -> ChunkedArray<BinaryType>

Traverse and collect every nth element in a new array.
source§

impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>

source§

fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>

Traverse and collect every nth element in a new array.
source§

impl ChunkTakeEvery<ListType> for ChunkedArray<ListType>

source§

fn take_every(&self, n: usize) -> ChunkedArray<ListType>

Traverse and collect every nth element in a new array.
source§

impl<T> ChunkTakeEvery<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn take_every(&self, _n: usize) -> ChunkedArray<ObjectType<T>>

Traverse and collect every nth element in a new array.
source§

impl<T> ChunkTakeEvery<T> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn take_every(&self, n: usize) -> ChunkedArray<T>

Traverse and collect every nth element in a new array.
source§

impl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>

Traverse and collect every nth element in a new array.
source§

impl ChunkUnique<BinaryType> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn unique(&self) -> Result<ChunkedArray<BinaryType>, PolarsError>

Get unique values of a ChunkedArray
source§

fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Get first index of the unique values in a ChunkedArray. This Vec is sorted.
source§

fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the unique values.
source§

fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the duplicated values.
source§

fn n_unique(&self) -> Result<usize, PolarsError>

Number of unique values in the ChunkedArray
source§

fn mode(&self) -> Result<ChunkedArray<BinaryType>, PolarsError>

Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
source§

impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>

source§

fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get unique values of a ChunkedArray
source§

fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Get first index of the unique values in a ChunkedArray. This Vec is sorted.
source§

fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the unique values.
source§

fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the duplicated values.
source§

fn n_unique(&self) -> Result<usize, PolarsError>

Number of unique values in the ChunkedArray
source§

fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>

Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
source§

impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>

source§

fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>

Get unique values of a ChunkedArray
source§

fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Get first index of the unique values in a ChunkedArray. This Vec is sorted.
source§

fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the unique values.
source§

fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the duplicated values.
source§

fn n_unique(&self) -> Result<usize, PolarsError>

Number of unique values in the ChunkedArray
source§

fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>

Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
source§

impl ChunkUnique<Float64Type> for ChunkedArray<Float64Type>

source§

fn unique(&self) -> Result<ChunkedArray<Float64Type>, PolarsError>

Get unique values of a ChunkedArray
source§

fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Get first index of the unique values in a ChunkedArray. This Vec is sorted.
source§

fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the unique values.
source§

fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the duplicated values.
source§

fn n_unique(&self) -> Result<usize, PolarsError>

Number of unique values in the ChunkedArray
source§

fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>

Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
source§

impl<T> ChunkUnique<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn unique(&self) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>

Get unique values of a ChunkedArray
source§

fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Get first index of the unique values in a ChunkedArray. This Vec is sorted.
source§

fn n_unique(&self) -> Result<usize, PolarsError>

Number of unique values in the ChunkedArray
source§

fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the unique values.
source§

fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the duplicated values.
source§

fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>

Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
source§

impl<T> ChunkUnique<T> for ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: Hash + Eq + Ord, ChunkedArray<T>: IntoSeries,

source§

fn unique(&self) -> Result<ChunkedArray<T>, PolarsError>

Get unique values of a ChunkedArray
source§

fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Get first index of the unique values in a ChunkedArray. This Vec is sorted.
source§

fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the unique values.
source§

fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the duplicated values.
source§

fn n_unique(&self) -> Result<usize, PolarsError>

Number of unique values in the ChunkedArray
source§

fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>

Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
source§

impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Get unique values of a ChunkedArray
source§

fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Get first index of the unique values in a ChunkedArray. This Vec is sorted.
source§

fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the unique values.
source§

fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>

Get a mask of all the duplicated values.
source§

fn n_unique(&self) -> Result<usize, PolarsError>

Number of unique values in the ChunkedArray
source§

fn mode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
source§

impl ChunkVar<Series> for ChunkedArray<ListType>

source§

fn var(&self, _ddof: u8) -> Option<T>

Compute the variance of this ChunkedArray/Series.
source§

fn std(&self, _ddof: u8) -> Option<T>

Compute the standard deviation of this ChunkedArray/Series.
source§

impl<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn var(&self, _ddof: u8) -> Option<T>

Compute the variance of this ChunkedArray/Series.
source§

fn std(&self, _ddof: u8) -> Option<T>

Compute the standard deviation of this ChunkedArray/Series.
source§

impl ChunkVar<String> for ChunkedArray<Utf8Type>

source§

fn var(&self, _ddof: u8) -> Option<T>

Compute the variance of this ChunkedArray/Series.
source§

fn std(&self, _ddof: u8) -> Option<T>

Compute the standard deviation of this ChunkedArray/Series.
source§

impl ChunkVar<bool> for ChunkedArray<BooleanType>

source§

fn var(&self, _ddof: u8) -> Option<T>

Compute the variance of this ChunkedArray/Series.
source§

fn std(&self, _ddof: u8) -> Option<T>

Compute the standard deviation of this ChunkedArray/Series.
source§

impl ChunkVar<f32> for ChunkedArray<Float32Type>

source§

fn var(&self, ddof: u8) -> Option<f32>

Compute the variance of this ChunkedArray/Series.
source§

fn std(&self, ddof: u8) -> Option<f32>

Compute the standard deviation of this ChunkedArray/Series.
source§

impl ChunkVar<f64> for ChunkedArray<Float64Type>

source§

fn var(&self, ddof: u8) -> Option<f64>

Compute the variance of this ChunkedArray/Series.
source§

fn std(&self, ddof: u8) -> Option<f64>

Compute the standard deviation of this ChunkedArray/Series.
source§

impl<T> ChunkVar<f64> for ChunkedArray<T>where T: PolarsIntegerType, <<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd, Output = <<T as PolarsNumericType>::Native as Simd>::Simd> + Sum<<T as PolarsNumericType>::Native> + SimdOrd<<T as PolarsNumericType>::Native>,

source§

fn var(&self, ddof: u8) -> Option<f64>

Compute the variance of this ChunkedArray/Series.
source§

fn std(&self, ddof: u8) -> Option<f64>

Compute the standard deviation of this ChunkedArray/Series.
source§

impl ChunkZip<BinaryType> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<BinaryType> ) -> Result<ChunkedArray<BinaryType>, PolarsError>

Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false
source§

impl ChunkZip<BooleanType> for ChunkedArray<BooleanType>

source§

fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<BooleanType>, PolarsError>

Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false
source§

impl ChunkZip<ListType> for ChunkedArray<ListType>

source§

fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<ListType> ) -> Result<ChunkedArray<ListType>, PolarsError>

Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false
source§

impl<T> ChunkZip<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<ObjectType<T>> ) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>

Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false
source§

impl<T> ChunkZip<T> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<T> ) -> Result<ChunkedArray<T>, PolarsError>

Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false
source§

impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>

source§

fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<Utf8Type> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false
source§

impl<'a> ChunkedSet<&'a str> for &'a ChunkedArray<Utf8Type>

source§

fn set_at_idx2<V>(self, idx: &[u32], values: V) -> Result<Series, PolarsError>where V: IntoIterator<Item = Option<&'a str>>,

source§

impl<T> ChunkedSet<<T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsOpsNumericType, ChunkedArray<T>: IntoSeries,

source§

fn set_at_idx2<V>(self, idx: &[u32], values: V) -> Result<Series, PolarsError>where V: IntoIterator<Item = Option<<T as PolarsNumericType>::Native>>,

source§

impl ChunkedSet<bool> for &ChunkedArray<BooleanType>

source§

fn set_at_idx2<V>(self, idx: &[u32], values: V) -> Result<Series, PolarsError>where V: IntoIterator<Item = Option<bool>>,

source§

impl<T> Clone for ChunkedArray<T>where T: PolarsDataType,

source§

fn clone(&self) -> ChunkedArray<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Debug for ChunkedArray<BooleanType>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Debug for ChunkedArray<ListType>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T> Debug for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T> Debug for ChunkedArray<T>where T: PolarsNumericType,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Debug for ChunkedArray<Utf8Type>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl<T> Default for ChunkedArray<T>where T: PolarsDataType,

source§

fn default() -> ChunkedArray<T>

Returns the “default value” for a type. Read more
source§

impl<T> Div<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the / operator.
source§

fn div( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Div<&ChunkedArray<T>>>::Output

Performs the / operation. Read more
source§

impl<T> Div<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the / operator.
source§

fn div( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Div<ChunkedArray<T>>>::Output

Performs the / operation. Read more
source§

impl<T, N> Div<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the / operator.
source§

fn div(self, rhs: N) -> <&ChunkedArray<T> as Div<N>>::Output

Performs the / operation. Read more
source§

impl<T, N> Div<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the / operator.
source§

fn div(self, rhs: N) -> <ChunkedArray<T> as Div<N>>::Output

Performs the / operation. Read more
source§

impl<T> Drop for ChunkedArray<T>where T: PolarsDataType,

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl<T> From<&[<T as PolarsNumericType>::Native]> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn from(slice: &[<T as PolarsNumericType>::Native]) -> ChunkedArray<T>

Converts to this type from the input type.
source§

impl<'a> From<&'a ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>

source§

fn from(ca: &'a ChunkedArray<BooleanType>) -> Vec<Option<bool>, Global>

Converts to this type from the input type.
source§

impl<'a, T> From<&'a ChunkedArray<T>> for Vec<Option<<T as PolarsNumericType>::Native>, Global>where T: PolarsNumericType,

source§

fn from( ca: &'a ChunkedArray<T> ) -> Vec<Option<<T as PolarsNumericType>::Native>, Global>

Converts to this type from the input type.
source§

impl<'a> From<&'a ChunkedArray<UInt32Type>> for TakeIdx<'a, Once<usize>, Once<Option<usize>>>

Conversion from UInt32Chunked to Unchecked TakeIdx

source§

fn from( ca: &'a ChunkedArray<UInt32Type> ) -> TakeIdx<'a, Once<usize>, Once<Option<usize>>>

Converts to this type from the input type.
source§

impl<'a> From<&'a ChunkedArray<Utf8Type>> for Vec<Option<&'a str>, Global>

From trait

source§

fn from(ca: &'a ChunkedArray<Utf8Type>) -> Vec<Option<&'a str>, Global>

Converts to this type from the input type.
source§

impl From<(&str, BinaryArray<i64>)> for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn from(tpl: (&str, BinaryArray<i64>)) -> ChunkedArray<BinaryType>

Converts to this type from the input type.
source§

impl From<(&str, BooleanArray)> for ChunkedArray<BooleanType>

source§

fn from(tpl: (&str, BooleanArray)) -> ChunkedArray<BooleanType>

Converts to this type from the input type.
source§

impl<T> From<(&str, PrimitiveArray<<T as PolarsNumericType>::Native>)> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn from( tpl: (&str, PrimitiveArray<<T as PolarsNumericType>::Native>) ) -> ChunkedArray<T>

Converts to this type from the input type.
source§

impl From<(&str, Utf8Array<i64>)> for ChunkedArray<Utf8Type>

source§

fn from(tpl: (&str, Utf8Array<i64>)) -> ChunkedArray<Utf8Type>

Converts to this type from the input type.
source§

impl From<BooleanArray> for ChunkedArray<BooleanType>

source§

fn from(arr: BooleanArray) -> ChunkedArray<BooleanType>

Converts to this type from the input type.
source§

impl From<ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>

source§

fn from(ca: ChunkedArray<BooleanType>) -> Vec<Option<bool>, Global>

Converts to this type from the input type.
source§

impl From<ChunkedArray<Int32Type>> for Logical<DateType, Int32Type>

source§

fn from(ca: ChunkedArray<Int32Type>) -> Logical<DateType, Int32Type>

Converts to this type from the input type.
source§

impl From<ChunkedArray<Int64Type>> for Logical<TimeType, Int64Type>

source§

fn from(ca: ChunkedArray<Int64Type>) -> Logical<TimeType, Int64Type>

Converts to this type from the input type.
source§

impl<T> From<ChunkedArray<T>> for Serieswhere T: PolarsDataType, ChunkedArray<T>: IntoSeries,

source§

fn from(ca: ChunkedArray<T>) -> Series

Converts to this type from the input type.
source§

impl From<ChunkedArray<Utf8Type>> for Vec<Option<String>, Global>

source§

fn from(ca: ChunkedArray<Utf8Type>) -> Vec<Option<String>, Global>

Converts to this type from the input type.
source§

impl<T> From<PrimitiveArray<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn from(a: PrimitiveArray<<T as PolarsNumericType>::Native>) -> ChunkedArray<T>

Converts to this type from the input type.
source§

impl<T> FromIterator<(Vec<<T as PolarsNumericType>::Native, Global>, Option<Bitmap>)> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn from_iter<I>(iter: I) -> ChunkedArray<T>where I: IntoIterator<Item = (Vec<<T as PolarsNumericType>::Native, Global>, Option<Bitmap>)>,

Creates a value from an iterator. Read more
source§

impl<T> FromIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,

FromIterator trait

source§

fn from_iter<I>(iter: I) -> ChunkedArray<T>where I: IntoIterator<Item = Option<<T as PolarsNumericType>::Native>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<Box<dyn Array + 'static, Global>>> for ChunkedArray<ListType>

source§

fn from_iter<I>(iter: I) -> ChunkedArray<ListType>where I: IntoIterator<Item = Option<Box<dyn Array + 'static, Global>>>,

Creates a value from an iterator. Read more
source§

impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<BinaryType>where Ptr: AsRef<[u8]>,

Available on crate feature dtype-binary only.
source§

fn from_iter<I>(iter: I) -> ChunkedArray<BinaryType>where I: IntoIterator<Item = Option<Ptr>>,

Creates a value from an iterator. Read more
source§

impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<Utf8Type>where Ptr: AsRef<str>,

source§

fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoIterator<Item = Option<Ptr>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<Series>> for ChunkedArray<ListType>

source§

fn from_iter<I>(iter: I) -> ChunkedArray<ListType>where I: IntoIterator<Item = Option<Series>>,

Creates a value from an iterator. Read more
source§

impl<T> FromIterator<Option<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn from_iter<I>(iter: I) -> ChunkedArray<ObjectType<T>>where I: IntoIterator<Item = Option<T>>,

Creates a value from an iterator. Read more
source§

impl FromIterator<Option<bool>> for ChunkedArray<BooleanType>

source§

fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoIterator<Item = Option<bool>>,

Creates a value from an iterator. Read more
source§

impl<Ptr> FromIterator<Ptr> for ChunkedArray<BinaryType>where Ptr: PolarsAsRef<[u8]>,

Available on crate feature dtype-binary only.
source§

fn from_iter<I>(iter: I) -> ChunkedArray<BinaryType>where I: IntoIterator<Item = Ptr>,

Creates a value from an iterator. Read more
source§

impl<Ptr> FromIterator<Ptr> for ChunkedArray<ListType>where Ptr: Borrow<Series>,

source§

fn from_iter<I>(iter: I) -> ChunkedArray<ListType>where I: IntoIterator<Item = Ptr>,

Creates a value from an iterator. Read more
source§

impl<Ptr> FromIterator<Ptr> for ChunkedArray<Utf8Type>where Ptr: PolarsAsRef<str>,

source§

fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoIterator<Item = Ptr>,

Creates a value from an iterator. Read more
source§

impl FromIterator<bool> for ChunkedArray<BooleanType>

source§

fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoIterator<Item = bool>,

Creates a value from an iterator. Read more
source§

impl<T> FromIteratorReversed<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn from_trusted_len_iter_rev<I>(iter: I) -> ChunkedArray<T>where I: TrustedLen<Item = Option<<T as PolarsNumericType>::Native>>,

source§

impl FromIteratorReversed<Option<bool>> for ChunkedArray<BooleanType>

source§

fn from_trusted_len_iter_rev<I>(iter: I) -> ChunkedArray<BooleanType>where I: TrustedLen<Item = Option<bool>>,

source§

impl<T> FromParallelIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn from_par_iter<I>(iter: I) -> ChunkedArray<T>where I: IntoParallelIterator<Item = Option<<T as PolarsNumericType>::Native>>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
source§

impl<Ptr> FromParallelIterator<Option<Ptr>> for ChunkedArray<Utf8Type>where Ptr: AsRef<str> + Send + Sync,

source§

fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoParallelIterator<Item = Option<Ptr>>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
source§

impl FromParallelIterator<Option<Series>> for ChunkedArray<ListType>

source§

fn from_par_iter<I>(iter: I) -> ChunkedArray<ListType>where I: IntoParallelIterator<Item = Option<Series>>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
source§

impl FromParallelIterator<Option<bool>> for ChunkedArray<BooleanType>

source§

fn from_par_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoParallelIterator<Item = Option<bool>>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
source§

impl<Ptr> FromParallelIterator<Ptr> for ChunkedArray<Utf8Type>where Ptr: PolarsAsRef<str> + Send + Sync,

source§

fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoParallelIterator<Item = Ptr>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
source§

impl FromParallelIterator<bool> for ChunkedArray<BooleanType>

source§

fn from_par_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoParallelIterator<Item = bool>,

Creates an instance of the collection from the parallel iterator par_iter. Read more
source§

impl<T> FromTrustedLenIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,

source§

impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<BinaryType>where Ptr: AsRef<[u8]>,

Available on crate feature dtype-binary only.
source§

impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<Utf8Type>where Ptr: AsRef<str>,

source§

impl FromTrustedLenIterator<Option<Series>> for ChunkedArray<ListType>

source§

impl<T> FromTrustedLenIterator<Option<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

impl FromTrustedLenIterator<Option<bool>> for ChunkedArray<BooleanType>

source§

fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoIterator<Item = Option<bool>>, <I as IntoIterator>::IntoIter: TrustedLen,

source§

impl<Ptr> FromTrustedLenIterator<Ptr> for ChunkedArray<BinaryType>where Ptr: PolarsAsRef<[u8]>,

Available on crate feature dtype-binary only.
source§

impl<Ptr> FromTrustedLenIterator<Ptr> for ChunkedArray<ListType>where Ptr: Borrow<Series>,

source§

fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<ListType>where I: IntoIterator<Item = Ptr>,

source§

impl<Ptr> FromTrustedLenIterator<Ptr> for ChunkedArray<Utf8Type>where Ptr: PolarsAsRef<str>,

source§

fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoIterator<Item = Ptr>,

source§

impl FromTrustedLenIterator<bool> for ChunkedArray<BooleanType>

source§

fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoIterator<Item = bool>, <I as IntoIterator>::IntoIter: TrustedLen,

source§

impl IntoGroupsProxy for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn group_tuples<'a>( &'a self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>

Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value.
source§

impl IntoGroupsProxy for ChunkedArray<BooleanType>

source§

fn group_tuples( &self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>

Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value.
source§

impl IntoGroupsProxy for ChunkedArray<ListType>

source§

fn group_tuples<'a>( &'a self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>

Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value.
source§

impl<T> IntoGroupsProxy for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn group_tuples( &self, _multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>

Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value.
source§

impl<T> IntoGroupsProxy for ChunkedArray<T>where T: PolarsNumericType, <T as PolarsNumericType>::Native: NumCast,

source§

fn group_tuples( &self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>

Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value.
source§

impl IntoGroupsProxy for ChunkedArray<Utf8Type>

source§

fn group_tuples<'a>( &'a self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>

Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value.
source§

impl<'a> IntoIterator for &'a ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
§

type Item = Option<&'a [u8]>

The type of the elements being iterated over.
§

type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BinaryType> as IntoIterator>::Item> + 'a, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <&'a ChunkedArray<BinaryType> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a> IntoIterator for &'a ChunkedArray<BooleanType>

§

type Item = Option<bool>

The type of the elements being iterated over.
§

type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BooleanType> as IntoIterator>::Item> + 'a, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <&'a ChunkedArray<BooleanType> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a> IntoIterator for &'a ChunkedArray<ListType>

§

type Item = Option<Series>

The type of the elements being iterated over.
§

type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ListType> as IntoIterator>::Item> + 'a, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <&'a ChunkedArray<ListType> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a, T> IntoIterator for &'a ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
§

type Item = Option<&'a T>

The type of the elements being iterated over.
§

type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::Item> + 'a, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter( self ) -> <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a, T> IntoIterator for &'a ChunkedArray<T>where T: PolarsNumericType,

§

type Item = Option<<T as PolarsNumericType>::Native>

The type of the elements being iterated over.
§

type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<T> as IntoIterator>::Item> + 'a, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <&'a ChunkedArray<T> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
source§

impl<'a> IntoIterator for &'a ChunkedArray<Utf8Type>

§

type Item = Option<&'a str>

The type of the elements being iterated over.
§

type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<Utf8Type> as IntoIterator>::Item> + 'a, Global>

Which kind of iterator are we turning this into?
source§

fn into_iter(self) -> <&'a ChunkedArray<Utf8Type> as IntoIterator>::IntoIter

Creates an iterator from a value. Read more
source§

impl<T> IntoSeries for ChunkedArray<T>where T: PolarsDataType + 'static, SeriesWrap<ChunkedArray<T>>: SeriesTrait,

source§

impl<T> IntoSeriesOps for &ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: NumericNative,

source§

fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>

source§

impl IntoSeriesOps for ChunkedArray<BooleanType>

source§

fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>

source§

impl IntoSeriesOps for ChunkedArray<Float32Type>

source§

fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>

source§

impl IntoSeriesOps for ChunkedArray<Float64Type>

source§

fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>

source§

impl IntoSeriesOps for ChunkedArray<ListType>

source§

fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>

source§

impl IntoSeriesOps for ChunkedArray<Utf8Type>

source§

fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>

source§

impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
§

type Item = &'a [u8]

§

type TakeRandom = TakeRandBranch2<BinaryTakeRandomSingleChunk<'a>, BinaryTakeRandom<'a>>

source§

fn take_rand( &self ) -> <&'a ChunkedArray<BinaryType> as IntoTakeRandom<'a>>::TakeRandom

Create a type that implements TakeRandom.
source§

impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<BooleanType>

§

type Item = bool

§

type TakeRandom = TakeRandBranch2<BoolTakeRandomSingleChunk<'a>, BoolTakeRandom<'a>>

source§

fn take_rand( &self ) -> <&'a ChunkedArray<BooleanType> as IntoTakeRandom<'a>>::TakeRandom

Create a type that implements TakeRandom.
source§

impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<ListType>

§

type Item = Series

§

type TakeRandom = TakeRandBranch2<ListTakeRandomSingleChunk<'a>, ListTakeRandom<'a>>

source§

fn take_rand( &self ) -> <&'a ChunkedArray<ListType> as IntoTakeRandom<'a>>::TakeRandom

Create a type that implements TakeRandom.
source§

impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
§

type Item = &'a T

§

type TakeRandom = TakeRandBranch2<ObjectTakeRandomSingleChunk<'a, T>, ObjectTakeRandom<'a, T>>

source§

fn take_rand( &self ) -> <&'a ChunkedArray<ObjectType<T>> as IntoTakeRandom<'a>>::TakeRandom

Create a type that implements TakeRandom.
source§

impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<T>where T: PolarsNumericType,

source§

impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<Utf8Type>

§

type Item = &'a str

§

type TakeRandom = TakeRandBranch2<Utf8TakeRandomSingleChunk<'a>, Utf8TakeRandom<'a>>

source§

fn take_rand( &self ) -> <&'a ChunkedArray<Utf8Type> as IntoTakeRandom<'a>>::TakeRandom

Create a type that implements TakeRandom.
source§

impl IsIn for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if elements of this array are in the right Series, or List values of the right Series.
source§

impl IsIn for ChunkedArray<BooleanType>

source§

fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if elements of this array are in the right Series, or List values of the right Series.
source§

impl<T> IsIn for ChunkedArray<T>where T: PolarsNumericType,

source§

fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if elements of this array are in the right Series, or List values of the right Series.
source§

impl IsIn for ChunkedArray<Utf8Type>

source§

fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if elements of this array are in the right Series, or List values of the right Series.
source§

impl ListNameSpaceImpl for ChunkedArray<ListType>

source§

fn lst_join( &self, separator: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

In case the inner dtype DataType::Utf8, the individual items will be joined into a single string separated by separator.
source§

fn lst_max(&self) -> Series

source§

fn lst_min(&self) -> Series

source§

fn lst_sum(&self) -> Series

source§

fn lst_mean(&self) -> ChunkedArray<Float64Type>

source§

fn lst_sort(&self, options: SortOptions) -> ChunkedArray<ListType>

source§

fn lst_reverse(&self) -> ChunkedArray<ListType>

source§

fn lst_unique(&self) -> Result<ChunkedArray<ListType>, PolarsError>

source§

fn lst_arg_min(&self) -> ChunkedArray<UInt32Type>

source§

fn lst_arg_max(&self) -> ChunkedArray<UInt32Type>

source§

fn lst_diff( &self, n: usize, null_behavior: NullBehavior ) -> ChunkedArray<ListType>

Available on crate feature diff only.
source§

fn lst_shift(&self, periods: i64) -> ChunkedArray<ListType>

source§

fn lst_slice(&self, offset: i64, length: usize) -> ChunkedArray<ListType>

source§

fn lst_lengths(&self) -> ChunkedArray<UInt32Type>

source§

fn lst_get(&self, idx: i64) -> Result<Series, PolarsError>

Get the value by index in the sublists. So index 0 would return the first item of every sublist and index -1 would return the last item of every sublist if an index is out of bounds, it will return a None.
source§

fn lst_concat( &self, other: &[Series] ) -> Result<ChunkedArray<ListType>, PolarsError>

source§

impl<T> Mul<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the * operator.
source§

fn mul( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Mul<&ChunkedArray<T>>>::Output

Performs the * operation. Read more
source§

impl<T> Mul<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the * operator.
source§

fn mul( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Mul<ChunkedArray<T>>>::Output

Performs the * operation. Read more
source§

impl<T, N> Mul<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: N) -> <&ChunkedArray<T> as Mul<N>>::Output

Performs the * operation. Read more
source§

impl<T, N> Mul<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the * operator.
source§

fn mul(self, rhs: N) -> <ChunkedArray<T> as Mul<N>>::Output

Performs the * operation. Read more
source§

impl<T> NamedFrom<&[T], &[T]> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn new(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>

Initialize by name and values.
source§

impl NamedFrom<Range<i32>, Int32Type> for ChunkedArray<Int32Type>

source§

fn new(name: &str, range: Range<i32>) -> ChunkedArray<Int32Type>

Initialize by name and values.
source§

impl NamedFrom<Range<i64>, Int64Type> for ChunkedArray<Int64Type>

source§

fn new(name: &str, range: Range<i64>) -> ChunkedArray<Int64Type>

Initialize by name and values.
source§

impl NamedFrom<Range<u32>, UInt32Type> for ChunkedArray<UInt32Type>

source§

fn new(name: &str, range: Range<u32>) -> ChunkedArray<UInt32Type>

Initialize by name and values.
source§

impl NamedFrom<Range<u64>, UInt64Type> for ChunkedArray<UInt64Type>

source§

fn new(name: &str, range: Range<u64>) -> ChunkedArray<UInt64Type>

Initialize by name and values.
source§

impl<T, S> NamedFrom<S, [Option<T>]> for ChunkedArray<ObjectType<T>>where T: PolarsObject, S: AsRef<[Option<T>]>,

Available on crate feature object only.
source§

fn new(name: &str, v: S) -> ChunkedArray<ObjectType<T>>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [&'a [u8]]> for ChunkedArray<BinaryType>where T: AsRef<[&'a [u8]]>,

Available on crate feature dtype-binary only.
source§

fn new(name: &str, v: T) -> ChunkedArray<BinaryType>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [&'a str]> for ChunkedArray<Utf8Type>where T: AsRef<[&'a str]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [Cow<'a, [u8]>]> for ChunkedArray<BinaryType>where T: AsRef<[Cow<'a, [u8]>]>,

Available on crate feature dtype-binary only.
source§

fn new(name: &str, v: T) -> ChunkedArray<BinaryType>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [Cow<'a, str>]> for ChunkedArray<Utf8Type>where T: AsRef<[Cow<'a, str>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [Option<&'a [u8]>]> for ChunkedArray<BinaryType>where T: AsRef<[Option<&'a [u8]>]>,

Available on crate feature dtype-binary only.
source§

fn new(name: &str, v: T) -> ChunkedArray<BinaryType>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [Option<&'a str>]> for ChunkedArray<Utf8Type>where T: AsRef<[Option<&'a str>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [Option<Cow<'a, [u8]>>]> for ChunkedArray<BinaryType>where T: AsRef<[Option<Cow<'a, [u8]>>]>,

Available on crate feature dtype-binary only.
source§

fn new(name: &str, v: T) -> ChunkedArray<BinaryType>

Initialize by name and values.
source§

impl<'a, T> NamedFrom<T, [Option<Cow<'a, str>>]> for ChunkedArray<Utf8Type>where T: AsRef<[Option<Cow<'a, str>>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<String>]> for ChunkedArray<Utf8Type>where T: AsRef<[Option<String>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<Vec<u8, Global>>]> for ChunkedArray<BinaryType>where T: AsRef<[Option<Vec<u8, Global>>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<BinaryType>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<bool>]> for ChunkedArray<BooleanType>where T: AsRef<[Option<bool>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<BooleanType>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<f32>]> for ChunkedArray<Float32Type>where T: AsRef<[Option<f32>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Float32Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<f64>]> for ChunkedArray<Float64Type>where T: AsRef<[Option<f64>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Float64Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<i16>]> for ChunkedArray<Int16Type>where T: AsRef<[Option<i16>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int16Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<i32>]> for ChunkedArray<Int32Type>where T: AsRef<[Option<i32>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int32Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<i64>]> for ChunkedArray<Int64Type>where T: AsRef<[Option<i64>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int64Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<i8>]> for ChunkedArray<Int8Type>where T: AsRef<[Option<i8>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int8Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<u16>]> for ChunkedArray<UInt16Type>where T: AsRef<[Option<u16>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<u32>]> for ChunkedArray<UInt32Type>where T: AsRef<[Option<u32>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<u64>]> for ChunkedArray<UInt64Type>where T: AsRef<[Option<u64>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Option<u8>]> for ChunkedArray<UInt8Type>where T: AsRef<[Option<u8>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt8Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [String]> for ChunkedArray<Utf8Type>where T: AsRef<[String]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [Vec<u8, Global>]> for ChunkedArray<BinaryType>where T: AsRef<[Vec<u8, Global>]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<BinaryType>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [bool]> for ChunkedArray<BooleanType>where T: AsRef<[bool]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<BooleanType>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [f32]> for ChunkedArray<Float32Type>where T: AsRef<[f32]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Float32Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [f64]> for ChunkedArray<Float64Type>where T: AsRef<[f64]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Float64Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [i16]> for ChunkedArray<Int16Type>where T: AsRef<[i16]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int16Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [i32]> for ChunkedArray<Int32Type>where T: AsRef<[i32]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int32Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [i64]> for ChunkedArray<Int64Type>where T: AsRef<[i64]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int64Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [i8]> for ChunkedArray<Int8Type>where T: AsRef<[i8]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<Int8Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [u16]> for ChunkedArray<UInt16Type>where T: AsRef<[u16]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [u32]> for ChunkedArray<UInt32Type>where T: AsRef<[u32]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [u64]> for ChunkedArray<UInt64Type>where T: AsRef<[u64]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>

Initialize by name and values.
source§

impl<T> NamedFrom<T, [u8]> for ChunkedArray<UInt8Type>where T: AsRef<[u8]>,

source§

fn new(name: &str, v: T) -> ChunkedArray<UInt8Type>

Initialize by name and values.
source§

impl<B> NewChunkedArray<BinaryType, B> for ChunkedArray<BinaryType>where B: AsRef<[u8]>,

Available on crate feature dtype-binary only.
source§

fn from_iter_values( name: &str, it: impl Iterator<Item = B> ) -> ChunkedArray<BinaryType>

Create a new ChunkedArray from an iterator.

source§

fn from_slice(name: &str, v: &[B]) -> ChunkedArray<BinaryType>

source§

fn from_slice_options( name: &str, opt_v: &[Option<B>] ) -> ChunkedArray<BinaryType>

source§

fn from_iter_options( name: &str, it: impl Iterator<Item = Option<B>> ) -> ChunkedArray<BinaryType>

Create a new ChunkedArray from an iterator.
source§

impl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>

source§

fn from_iter_values( name: &str, it: impl Iterator<Item = bool> ) -> ChunkedArray<BooleanType>

Create a new ChunkedArray from an iterator.

source§

fn from_slice(name: &str, v: &[bool]) -> ChunkedArray<BooleanType>

source§

fn from_slice_options( name: &str, opt_v: &[Option<bool>] ) -> ChunkedArray<BooleanType>

source§

fn from_iter_options( name: &str, it: impl Iterator<Item = Option<bool>> ) -> ChunkedArray<BooleanType>

Create a new ChunkedArray from an iterator.
source§

impl<T> NewChunkedArray<ObjectType<T>, T> for ChunkedArray<ObjectType<T>>where T: PolarsObject,

source§

fn from_iter_values( name: &str, it: impl Iterator<Item = T> ) -> ChunkedArray<ObjectType<T>>

Create a new ChunkedArray from an iterator.

source§

fn from_slice(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>

source§

fn from_slice_options( name: &str, opt_v: &[Option<T>] ) -> ChunkedArray<ObjectType<T>>

source§

fn from_iter_options( name: &str, it: impl Iterator<Item = Option<T>> ) -> ChunkedArray<ObjectType<T>>

Create a new ChunkedArray from an iterator.
source§

impl<T> NewChunkedArray<T, <T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsNumericType,

source§

fn from_iter_values( name: &str, it: impl Iterator<Item = <T as PolarsNumericType>::Native> ) -> ChunkedArray<T>

Create a new ChunkedArray from an iterator.

source§

fn from_slice( name: &str, v: &[<T as PolarsNumericType>::Native] ) -> ChunkedArray<T>

source§

fn from_slice_options( name: &str, opt_v: &[Option<<T as PolarsNumericType>::Native>] ) -> ChunkedArray<T>

source§

fn from_iter_options( name: &str, it: impl Iterator<Item = Option<<T as PolarsNumericType>::Native>> ) -> ChunkedArray<T>

Create a new ChunkedArray from an iterator.
source§

impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type>where S: AsRef<str>,

source§

fn from_iter_values( name: &str, it: impl Iterator<Item = S> ) -> ChunkedArray<Utf8Type>

Create a new ChunkedArray from an iterator.

source§

fn from_slice(name: &str, v: &[S]) -> ChunkedArray<Utf8Type>

source§

fn from_slice_options(name: &str, opt_v: &[Option<S>]) -> ChunkedArray<Utf8Type>

source§

fn from_iter_options( name: &str, it: impl Iterator<Item = Option<S>> ) -> ChunkedArray<Utf8Type>

Create a new ChunkedArray from an iterator.
source§

impl Not for &ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the ! operator.
source§

fn not(self) -> <&ChunkedArray<BooleanType> as Not>::Output

Performs the unary ! operation. Read more
source§

impl Not for ChunkedArray<BooleanType>

§

type Output = ChunkedArray<BooleanType>

The resulting type after applying the ! operator.
source§

fn not(self) -> <ChunkedArray<BooleanType> as Not>::Output

Performs the unary ! operation. Read more
source§

impl NumOpsDispatch for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

impl<T> NumOpsDispatch for ChunkedArray<T>where T: PolarsNumericType, ChunkedArray<T>: IntoSeries,

source§

impl NumOpsDispatch for ChunkedArray<Utf8Type>

source§

impl NumOpsDispatchChecked for ChunkedArray<Float32Type>

source§

fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>

Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
source§

fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError>where T: ToPrimitive,

source§

impl NumOpsDispatchChecked for ChunkedArray<Float64Type>

source§

fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>

Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
source§

fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError>where T: ToPrimitive,

source§

impl<T> NumOpsDispatchChecked for ChunkedArray<T>where <T as PolarsNumericType>::Native: CheckedDiv<Output = <T as PolarsNumericType>::Native, Output = <T as PolarsNumericType>::Native> + CheckedDiv + Zero + One, T: PolarsIntegerType, ChunkedArray<T>: IntoSeries,

source§

fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>

Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
source§

fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError>where T: ToPrimitive,

source§

impl QuantileAggSeries for ChunkedArray<Float32Type>

source§

fn quantile_as_series( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Series, PolarsError>

Get the quantile of the ChunkedArray as a new Series of length 1.
source§

fn median_as_series(&self) -> Series

Get the median of the ChunkedArray as a new Series of length 1.
source§

impl QuantileAggSeries for ChunkedArray<Float64Type>

source§

fn quantile_as_series( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Series, PolarsError>

Get the quantile of the ChunkedArray as a new Series of length 1.
source§

fn median_as_series(&self) -> Series

Get the median of the ChunkedArray as a new Series of length 1.
source§

impl<T> QuantileAggSeries for ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: Ord, <<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd, Output = <<T as PolarsNumericType>::Native as Simd>::Simd> + Sum<<T as PolarsNumericType>::Native> + SimdOrd<<T as PolarsNumericType>::Native>,

source§

fn quantile_as_series( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Series, PolarsError>

Get the quantile of the ChunkedArray as a new Series of length 1.
source§

fn median_as_series(&self) -> Series

Get the median of the ChunkedArray as a new Series of length 1.
source§

impl<T> Rem<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the % operator.
source§

fn rem( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Rem<&ChunkedArray<T>>>::Output

Performs the % operation. Read more
source§

impl<T> Rem<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the % operator.
source§

fn rem( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Rem<ChunkedArray<T>>>::Output

Performs the % operation. Read more
source§

impl<T, N> Rem<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the % operator.
source§

fn rem(self, rhs: N) -> <&ChunkedArray<T> as Rem<N>>::Output

Performs the % operation. Read more
source§

impl<T, N> Rem<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the % operator.
source§

fn rem(self, rhs: N) -> <ChunkedArray<T> as Rem<N>>::Output

Performs the % operation. Read more
source§

impl RepeatBy for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>

Repeat the values n times, where n is determined by the values in by.
source§

impl RepeatBy for ChunkedArray<BooleanType>

source§

fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>

Repeat the values n times, where n is determined by the values in by.
source§

impl<T> RepeatBy for ChunkedArray<T>where T: PolarsNumericType,

source§

fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>

Repeat the values n times, where n is determined by the values in by.
source§

impl RepeatBy for ChunkedArray<Utf8Type>

source§

fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>

Repeat the values n times, where n is determined by the values in by.
source§

impl<T> StrConcat for ChunkedArray<T>where T: PolarsNumericType, <T as PolarsNumericType>::Native: Display,

source§

fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>

Concat the values into a string array. Read more
source§

impl StrConcat for ChunkedArray<Utf8Type>

source§

fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>

Concat the values into a string array. Read more
source§

impl<T> Sub<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the - operator.
source§

fn sub( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Sub<&ChunkedArray<T>>>::Output

Performs the - operation. Read more
source§

impl<T> Sub<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,

§

type Output = ChunkedArray<T>

The resulting type after applying the - operator.
source§

fn sub( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Sub<ChunkedArray<T>>>::Output

Performs the - operation. Read more
source§

impl<T, N> Sub<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: N) -> <&ChunkedArray<T> as Sub<N>>::Output

Performs the - operation. Read more
source§

impl<T, N> Sub<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,

§

type Output = ChunkedArray<T>

The resulting type after applying the - operator.
source§

fn sub(self, rhs: N) -> <ChunkedArray<T> as Sub<N>>::Output

Performs the - operation. Read more
source§

impl<'a> TakeRandom for &'a ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
§

type Item = &'a [u8]

source§

fn get( &self, index: usize ) -> Option<<&'a ChunkedArray<BinaryType> as TakeRandom>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked(&self, index: usize) -> Option<Self::Item>where Self: Sized,

Get a value by index and ignore the null bit. Read more
source§

impl<'a, T> TakeRandom for &'a ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
§

type Item = &'a T

source§

fn get( &self, index: usize ) -> Option<<&'a ChunkedArray<ObjectType<T>> as TakeRandom>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked( &self, index: usize ) -> Option<<&'a ChunkedArray<ObjectType<T>> as TakeRandom>::Item>

Get a value by index and ignore the null bit. Read more
source§

impl<'a, T> TakeRandom for &'a ChunkedArray<T>where T: PolarsNumericType,

§

type Item = <T as PolarsNumericType>::Native

source§

fn get(&self, index: usize) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked( &self, index: usize ) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>

Get a value by index and ignore the null bit. Read more
source§

impl<'a> TakeRandom for &'a ChunkedArray<Utf8Type>

§

type Item = &'a str

source§

fn get( &self, index: usize ) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandom>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked(&self, index: usize) -> Option<Self::Item>where Self: Sized,

Get a value by index and ignore the null bit. Read more
source§

impl TakeRandom for ChunkedArray<BooleanType>

§

type Item = bool

source§

fn get( &self, index: usize ) -> Option<<ChunkedArray<BooleanType> as TakeRandom>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked(&self, index: usize) -> Option<Self::Item>where Self: Sized,

Get a value by index and ignore the null bit. Read more
source§

impl TakeRandom for ChunkedArray<ListType>

§

type Item = Series

source§

fn get( &self, index: usize ) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked( &self, index: usize ) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>

Get a value by index and ignore the null bit. Read more
source§

impl<T> TakeRandom for ChunkedArray<T>where T: PolarsNumericType,

§

type Item = <T as PolarsNumericType>::Native

source§

fn get(&self, index: usize) -> Option<<ChunkedArray<T> as TakeRandom>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked( &self, index: usize ) -> Option<<ChunkedArray<T> as TakeRandom>::Item>

Get a value by index and ignore the null bit. Read more
source§

impl<'a> TakeRandomUtf8 for &'a ChunkedArray<Utf8Type>

§

type Item = &'a str

source§

fn get( self, index: usize ) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>

Get a nullable value by index. Read more
source§

unsafe fn get_unchecked( self, index: usize ) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>

Get a value by index and ignore the null bit. Read more
source§

impl Utf8Methods for ChunkedArray<Utf8Type>

source§

fn as_time( &self, fmt: Option<&str>, cache: bool ) -> Result<Logical<TimeType, Int64Type>, PolarsError>

Available on crate feature dtype-time only.
Parsing string values and return a TimeChunked
source§

fn as_date_not_exact( &self, fmt: Option<&str> ) -> Result<Logical<DateType, Int32Type>, PolarsError>

Available on crate feature dtype-date only.
Parsing string values and return a DateChunked Different from as_date this function allows matches that not contain the whole string e.g. “foo-2021-01-01-bar” could match “2021-01-01”
source§

fn as_datetime_not_exact( &self, fmt: Option<&str>, tu: TimeUnit, tz: Option<&String> ) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>

Available on crate feature dtype-datetime only.
Parsing string values and return a DatetimeChunked Different from as_datetime this function allows matches that not contain the whole string e.g. “foo-2021-01-01-bar” could match “2021-01-01”
source§

fn as_date( &self, fmt: Option<&str>, cache: bool ) -> Result<Logical<DateType, Int32Type>, PolarsError>

Available on crate feature dtype-date only.
Parsing string values and return a DateChunked
source§

fn as_datetime( &self, fmt: Option<&str>, tu: TimeUnit, cache: bool, tz_aware: bool, _utc: bool, tz: Option<&String> ) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>

Available on crate feature dtype-datetime only.
Parsing string values and return a DatetimeChunked
source§

impl Utf8NameSpaceImpl for ChunkedArray<Utf8Type>

source§

fn hex_decode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Available on non-crate feature binary_encoding only.
source§

fn hex_encode(&self) -> ChunkedArray<Utf8Type>

Available on crate feature string_encoding only.
source§

fn base64_decode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Available on non-crate feature binary_encoding only.
source§

fn base64_encode(&self) -> ChunkedArray<Utf8Type>

Available on crate feature string_encoding only.
source§

fn parse_int(&self, radix: Option<u32>) -> ChunkedArray<Int32Type>

Available on crate feature string_from_radix only.
source§

fn str_n_chars(&self) -> ChunkedArray<UInt32Type>

Get the length of the string values as number of chars.
source§

fn str_lengths(&self) -> ChunkedArray<UInt32Type>

Get the length of the string values as number of bytes.
source§

fn contains(&self, pat: &str) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if strings contain a regex pattern; take literal fast-path if no special chars and strlen <= 96 chars (otherwise regex faster).
source§

fn contains_literal( &self, lit: &str ) -> Result<ChunkedArray<BooleanType>, PolarsError>

Check if strings contain a given literal
source§

fn ends_with(&self, sub: &str) -> ChunkedArray<BooleanType>

Check if strings ends with a substring
source§

fn starts_with(&self, sub: &str) -> ChunkedArray<BooleanType>

Check if strings starts with a substring
source§

fn replace<'a>( &'a self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Replace the leftmost regex-matched (sub)string with another string
source§

fn replace_literal<'a>( &'a self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Replace the leftmost literal (sub)string with another string
source§

fn replace_all( &self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Replace all regex-matched (sub)strings with another string
source§

fn replace_literal_all( &self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Replace all matching literal (sub)strings with another string
source§

fn extract( &self, pat: &str, group_index: usize ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Extract the nth capture group from pattern
source§

fn extract_all(&self, pat: &str) -> Result<ChunkedArray<ListType>, PolarsError>

Extract each successive non-overlapping regex match in an individual string as an array
source§

fn extract_all_many( &self, pat: &ChunkedArray<Utf8Type> ) -> Result<ChunkedArray<ListType>, PolarsError>

Extract each successive non-overlapping regex match in an individual string as an array
source§

fn count_match(&self, pat: &str) -> Result<ChunkedArray<UInt32Type>, PolarsError>

Count all successive non-overlapping regex matches.
source§

fn to_lowercase(&self) -> ChunkedArray<Utf8Type>

Modify the strings to their lowercase equivalent
source§

fn to_uppercase(&self) -> ChunkedArray<Utf8Type>

Modify the strings to their uppercase equivalent
source§

fn concat(&self, other: &ChunkedArray<Utf8Type>) -> ChunkedArray<Utf8Type>

Concat with the values from a second Utf8Chunked
source§

fn str_slice( &self, start: i64, length: Option<u64> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>

Slice the string values Determines a substring starting from start and with optional length length of each of the elements in array. start can be negative, in which case the start counts from the end of the string.
source§

impl ValueSize for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn get_values_size(&self) -> usize

Useful for a Utf8 or a List to get underlying value size. During a rechunk this is handy
source§

impl ValueSize for ChunkedArray<ListType>

source§

fn get_values_size(&self) -> usize

Useful for a Utf8 or a List to get underlying value size. During a rechunk this is handy
source§

impl ValueSize for ChunkedArray<Utf8Type>

source§

fn get_values_size(&self) -> usize

Useful for a Utf8 or a List to get underlying value size. During a rechunk this is handy
source§

impl VarAggSeries for ChunkedArray<Float32Type>

source§

fn var_as_series(&self, ddof: u8) -> Series

Get the variance of the ChunkedArray as a new Series of length 1.
source§

fn std_as_series(&self, ddof: u8) -> Series

Get the standard deviation of the ChunkedArray as a new Series of length 1.
source§

impl VarAggSeries for ChunkedArray<Float64Type>

source§

fn var_as_series(&self, ddof: u8) -> Series

Get the variance of the ChunkedArray as a new Series of length 1.
source§

fn std_as_series(&self, ddof: u8) -> Series

Get the standard deviation of the ChunkedArray as a new Series of length 1.
source§

impl<T> VarAggSeries for ChunkedArray<T>where T: PolarsIntegerType, <<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd, Output = <<T as PolarsNumericType>::Native as Simd>::Simd> + Sum<<T as PolarsNumericType>::Native> + SimdOrd<<T as PolarsNumericType>::Native>,

source§

fn var_as_series(&self, ddof: u8) -> Series

Get the variance of the ChunkedArray as a new Series of length 1.
source§

fn std_as_series(&self, ddof: u8) -> Series

Get the standard deviation of the ChunkedArray as a new Series of length 1.
source§

impl VecHash for ChunkedArray<BinaryType>

Available on crate feature dtype-binary only.
source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<BooleanType>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<Float32Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<Float64Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<Int16Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<Int32Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<Int64Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<Int8Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl<T> VecHash for ChunkedArray<ObjectType<T>>where T: PolarsObject,

Available on crate feature object only.
source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<UInt16Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<UInt32Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<UInt64Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<UInt8Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl VecHash for ChunkedArray<Utf8Type>

source§

fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)

Compute the hash for all values in the array. Read more
source§

fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])

source§

impl ZipOuterJoinColumn for ChunkedArray<BinaryType>

source§

fn zip_outer_join_column( &self, right_column: &Series, opt_join_tuples: &[(Option<u32>, Option<u32>)] ) -> Series

source§

impl ZipOuterJoinColumn for ChunkedArray<BooleanType>

source§

fn zip_outer_join_column( &self, right_column: &Series, opt_join_tuples: &[(Option<u32>, Option<u32>)] ) -> Series

source§

impl ZipOuterJoinColumn for ChunkedArray<Float32Type>

source§

fn zip_outer_join_column( &self, right_column: &Series, opt_join_tuples: &[(Option<u32>, Option<u32>)] ) -> Series

source§

impl ZipOuterJoinColumn for ChunkedArray<Float64Type>

source§

fn zip_outer_join_column( &self, right_column: &Series, opt_join_tuples: &[(Option<u32>, Option<u32>)] ) -> Series

source§

impl<T> ZipOuterJoinColumn for ChunkedArray<T>where T: PolarsIntegerType, ChunkedArray<T>: IntoSeries,

source§

fn zip_outer_join_column( &self, right_column: &Series, opt_join_tuples: &[(Option<u32>, Option<u32>)] ) -> Series

source§

impl ZipOuterJoinColumn for ChunkedArray<Utf8Type>

source§

fn zip_outer_join_column( &self, right_column: &Series, opt_join_tuples: &[(Option<u32>, Option<u32>)] ) -> Series

Auto Trait Implementations§

§

impl<T> !RefUnwindSafe for ChunkedArray<T>

§

impl<T> Send for ChunkedArray<T>

§

impl<T> Sync for ChunkedArray<T>

§

impl<T> Unpin for ChunkedArray<T>where T: Unpin,

§

impl<T> !UnwindSafe for ChunkedArray<T>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for Twhere T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for Twhere V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for Twhere T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,