Struct polars::chunked_array::ChunkedArray
source · 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,
impl<T> ChunkedArray<T>where T: PolarsNumericType, <T as PolarsNumericType>::Native: Signed,
sourcepub fn abs(&self) -> ChunkedArray<T>
pub fn abs(&self) -> ChunkedArray<T>
Convert all values to their absolute/positive value.
source§impl<T> ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
sourcepub fn append(&mut self, other: &ChunkedArray<T>)
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,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
sourcepub 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,
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,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
pub fn apply_mut<F>(&mut self, f: F)where F: Fn(<T as PolarsNumericType>::Native) -> <T as PolarsNumericType>::Native + Copy,
impl ChunkedArray<Float32Type>
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,
impl<T> ChunkedArray<T>where T: PolarsDataType,
pub fn rechunk(&self) -> ChunkedArray<T>
sourcepub fn slice(&self, offset: i64, length: usize) -> ChunkedArray<T>
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
sourcepub fn limit(&self, num_elements: usize) -> ChunkedArray<T>where
ChunkedArray<T>: Sized,
pub fn limit(&self, num_elements: usize) -> ChunkedArray<T>where ChunkedArray<T>: Sized,
Take a view of top n elements
sourcepub fn head(&self, length: Option<usize>) -> ChunkedArray<T>where
ChunkedArray<T>: Sized,
pub fn head(&self, length: Option<usize>) -> ChunkedArray<T>where ChunkedArray<T>: Sized,
Get the head of the ChunkedArray
sourcepub fn tail(&self, length: Option<usize>) -> ChunkedArray<T>where
ChunkedArray<T>: Sized,
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,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
sourcepub fn extend(&mut self, other: &ChunkedArray<T>)
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>
impl ChunkedArray<ListType>
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>,
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>,
sourcepub 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>,
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<T> ChunkedArray<T>where
T: PolarsFloatType,
<T as PolarsNumericType>::Native: Float,
impl<T> ChunkedArray<T>where T: PolarsFloatType, <T as PolarsNumericType>::Native: Float,
pub fn is_nan(&self) -> ChunkedArray<BooleanType>
pub fn is_not_nan(&self) -> ChunkedArray<BooleanType>
pub fn is_finite(&self) -> ChunkedArray<BooleanType>
pub fn is_infinite(&self) -> ChunkedArray<BooleanType>
sourcepub fn none_to_nan(&self) -> ChunkedArray<T>
pub fn none_to_nan(&self) -> ChunkedArray<T>
Convert missing values to NaN
values.
source§impl ChunkedArray<ListType>
impl ChunkedArray<ListType>
pub fn par_iter(&self) -> impl ParallelIterator<Item = Option<Series>>
pub fn par_iter_indexed(&mut self) -> impl IndexedParallelIterator
source§impl ChunkedArray<Utf8Type>
impl ChunkedArray<Utf8Type>
pub fn par_iter_indexed(&self) -> impl IndexedParallelIterator
pub fn par_iter(&self) -> impl ParallelIterator<Item = Option<&str>>
source§impl<T> ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
sourcepub fn to_ndarray(
&self
) -> Result<ArrayBase<ViewRepr<&<T as PolarsNumericType>::Native>, Dim<[usize; 1]>>, PolarsError>
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>
impl ChunkedArray<ListType>
sourcepub fn to_ndarray<N>(
&self
) -> Result<ArrayBase<OwnedRepr<<N as PolarsNumericType>::Native>, Dim<[usize; 2]>>, PolarsError>where
N: PolarsNumericType,
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,
impl<T> ChunkedArray<T>where T: PolarsDataType,
sourcepub unsafe fn from_chunks(
name: &str,
chunks: Vec<Box<dyn Array + 'static, Global>, Global>
) -> ChunkedArray<T>
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,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
sourcepub fn from_vec(
name: &str,
v: Vec<<T as PolarsNumericType>::Native, Global>
) -> ChunkedArray<T>
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.
sourcepub fn new_from_owned_with_null_bitmap(
name: &str,
values: Vec<<T as PolarsNumericType>::Native, Global>,
buffer: Option<Bitmap>
) -> ChunkedArray<T>
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
sourcepub unsafe fn mmap_slice(
name: &str,
values: &[<T as PolarsNumericType>::Native]
) -> ChunkedArray<T>
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>
impl ChunkedArray<ListType>
sourcepub fn amortized_iter(
&self
) -> AmortizedListIter<'_, impl Iterator<Item = Option<Box<dyn Array + 'static, Global>>>>
Available on crate feature private
only.
pub fn amortized_iter( &self ) -> AmortizedListIter<'_, impl Iterator<Item = Option<Box<dyn Array + 'static, Global>>>>
private
only.This is an iterator over a ListChunked that save allocations.
A Series is:
1. Arc
The ArrayRef we indicated with 3. will be updated during iteration. The Series will be pinned in memory, saving an allocation for
- Arc<..>
- 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.
sourcepub fn apply_amortized<'a, F>(&'a self, f: F) -> ChunkedArray<ListType>where
F: FnMut(UnstableSeries<'a>) -> Series,
Available on crate feature private
only.
pub fn apply_amortized<'a, F>(&'a self, f: F) -> ChunkedArray<ListType>where F: FnMut(UnstableSeries<'a>) -> Series,
private
only.Apply a closure F
elementwise.
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>
impl ChunkedArray<ListType>
pub fn set_fast_explode(&mut self)
private
only.pub fn _can_fast_explode(&self) -> bool
pub fn to_logical(&mut self, inner_dtype: DataType)
source§impl ChunkedArray<Int64Type>
impl ChunkedArray<Int64Type>
pub fn into_datetime( self, timeunit: TimeUnit, tz: Option<String> ) -> Logical<DatetimeType, Int64Type>
source§impl ChunkedArray<Int128Type>
impl ChunkedArray<Int128Type>
pub fn into_decimal( self, precision: usize, scale: usize ) -> Logical<DecimalType, Int128Type>
source§impl ChunkedArray<Int64Type>
impl ChunkedArray<Int64Type>
pub fn into_duration( self, timeunit: TimeUnit ) -> Logical<DurationType, Int64Type>
source§impl<T> ChunkedArray<ObjectType<T>>where
T: PolarsObject,
impl<T> ChunkedArray<ObjectType<T>>where T: PolarsObject,
pub fn new_from_vec(name: &str, v: Vec<T, Global>) -> ChunkedArray<ObjectType<T>>
pub fn new_empty(name: &str) -> ChunkedArray<ObjectType<T>>
source§impl<T> ChunkedArray<ObjectType<T>>where
T: PolarsObject,
impl<T> ChunkedArray<ObjectType<T>>where T: PolarsObject,
sourcepub unsafe fn get_object_unchecked(
&self,
index: usize
) -> Option<&(dyn PolarsObjectSafe + 'static)>
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
sourcepub fn get_object(
&self,
index: usize
) -> Option<&(dyn PolarsObjectSafe + 'static)>
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>,
impl<T> ChunkedArray<T>where T: PolarsNumericType, Standard: Distribution<<T as PolarsNumericType>::Native>,
source§impl<T> ChunkedArray<T>where
T: PolarsDataType,
ChunkedArray<T>: ChunkTake,
impl<T> ChunkedArray<T>where T: PolarsDataType, ChunkedArray<T>: ChunkTake,
sourcepub fn sample_n(
&self,
n: usize,
with_replacement: bool,
shuffle: bool,
seed: Option<u64>
) -> Result<ChunkedArray<T>, PolarsError>
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.
sourcepub fn sample_frac(
&self,
frac: f64,
with_replacement: bool,
shuffle: bool,
seed: Option<u64>
) -> Result<ChunkedArray<T>, PolarsError>
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,
impl<T> ChunkedArray<T>where T: PolarsNumericType, <T as PolarsNumericType>::Native: Float,
sourcepub fn rand_normal(
name: &str,
length: usize,
mean: f64,
std_dev: f64
) -> Result<ChunkedArray<T>, PolarsError>
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.
sourcepub fn rand_standard_normal(name: &str, length: usize) -> ChunkedArray<T>
pub fn rand_standard_normal(name: &str, length: usize) -> ChunkedArray<T>
Create ChunkedArray
with samples from a Standard Normal distribution.
sourcepub fn rand_uniform(
name: &str,
length: usize,
low: f64,
high: f64
) -> ChunkedArray<T>
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>
impl ChunkedArray<BooleanType>
sourcepub fn rand_bernoulli(
name: &str,
length: usize,
p: f64
) -> Result<ChunkedArray<BooleanType>, PolarsError>
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,
impl<T> ChunkedArray<T>where T: PolarsDataType,
pub fn is_sorted_flag2(&self) -> IsSorted
sourcepub fn set_sorted_flag(&mut self, sorted: IsSorted)
pub fn set_sorted_flag(&mut self, sorted: IsSorted)
Set the ‘sorted’ bit meta info.
sourcepub fn first_non_null(&self) -> Option<usize>
pub fn first_non_null(&self) -> Option<usize>
Get the index of the first non null value in this ChunkedArray.
sourcepub fn last_non_null(&self) -> Option<usize>
pub fn last_non_null(&self) -> Option<usize>
Get the index of the last non null value in this ChunkedArray.
sourcepub fn iter_validities(
&self
) -> Map<Iter<'_, Box<dyn Array + 'static, Global>>, fn(_: &Box<dyn Array + 'static, Global>) -> Option<&Bitmap>>
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
sourcepub fn has_validity(&self) -> bool
pub fn has_validity(&self) -> bool
Return if any the chunks in this [ChunkedArray]
have a validity bitmap.
no bitmap means no null values.
sourcepub fn shrink_to_fit(&mut self)
pub fn shrink_to_fit(&mut self)
Shrink the capacity of this array to fit its length.
sourcepub fn unpack_series_matching_type(
&self,
series: &Series
) -> Result<&ChunkedArray<T>, PolarsError>
pub fn unpack_series_matching_type( &self, series: &Series ) -> Result<&ChunkedArray<T>, PolarsError>
Series to ChunkedArray
sourcepub fn chunk_id(
&self
) -> Map<Iter<'_, Box<dyn Array + 'static, Global>>, fn(_: &Box<dyn Array + 'static, Global>) -> usize>
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
sourcepub fn chunks(&self) -> &Vec<Box<dyn Array + 'static, Global>, Global> ⓘ
pub fn chunks(&self) -> &Vec<Box<dyn Array + 'static, Global>, Global> ⓘ
A reference to the chunks
sourcepub unsafe fn chunks_mut(
&mut self
) -> &mut Vec<Box<dyn Array + 'static, Global>, Global> ⓘ
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.
sourcepub fn is_optimal_aligned(&self) -> bool
pub fn is_optimal_aligned(&self) -> bool
Returns true if contains a single chunk and has no null values
sourcepub fn null_count(&self) -> usize
pub fn null_count(&self) -> usize
Count the null values.
sourcepub fn is_null(&self) -> ChunkedArray<BooleanType>
pub fn is_null(&self) -> ChunkedArray<BooleanType>
Get a mask of the null values.
sourcepub fn is_not_null(&self) -> ChunkedArray<BooleanType>
pub fn is_not_null(&self) -> ChunkedArray<BooleanType>
Get a mask of the valid values.
source§impl<T> ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
sourcepub fn cont_slice(
&self
) -> Result<&[<T as PolarsNumericType>::Native], PolarsError>
pub fn cont_slice( &self ) -> Result<&[<T as PolarsNumericType>::Native], PolarsError>
Contiguous slice
sourcepub fn data_views(
&self
) -> impl Iterator<Item = &[<T as PolarsNumericType>::Native]> + DoubleEndedIterator
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
pub fn into_no_null_iter( &self ) -> impl Iterator<Item = <T as PolarsNumericType>::Native> + Send + Sync + ExactSizeIterator + DoubleEndedIterator + TrustedLen
source§impl ChunkedArray<ListType>
impl ChunkedArray<ListType>
sourcepub fn inner_dtype(&self) -> DataType
pub fn inner_dtype(&self) -> DataType
Get the inner data type of the list.
pub fn set_inner_dtype(&mut self, dtype: DataType)
source§impl<T> ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkedArray<T>where T: PolarsNumericType,
sourcepub fn new_vec(
name: &str,
v: Vec<<T as PolarsNumericType>::Native, Global>
) -> ChunkedArray<T>
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,
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)
sourcepub fn lhs_sub<N>(&self, lhs: N) -> ChunkedArray<T>where
N: Num + NumCast,
pub fn lhs_sub<N>(&self, lhs: N) -> ChunkedArray<T>where N: Num + NumCast,
Apply lhs - self
sourcepub fn lhs_div<N>(&self, lhs: N) -> ChunkedArray<T>where
N: Num + NumCast,
pub fn lhs_div<N>(&self, lhs: N) -> ChunkedArray<T>where N: Num + NumCast,
Apply lhs / self
sourcepub fn lhs_rem<N>(&self, lhs: N) -> ChunkedArray<T>where
N: Num + NumCast,
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.
impl Add<&[u8]> for &ChunkedArray<BinaryType>
dtype-binary
only.§type Output = ChunkedArray<BinaryType>
type Output = ChunkedArray<BinaryType>
+
operator.source§fn add(self, rhs: &[u8]) -> <&ChunkedArray<BinaryType> as Add<&[u8]>>::Output
fn add(self, rhs: &[u8]) -> <&ChunkedArray<BinaryType> as Add<&[u8]>>::Output
+
operation. Read moresource§impl Add<&ChunkedArray<BinaryType>> for &ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl Add<&ChunkedArray<BinaryType>> for &ChunkedArray<BinaryType>
dtype-binary
only.§type Output = ChunkedArray<BinaryType>
type Output = ChunkedArray<BinaryType>
+
operator.source§fn add(
self,
rhs: &ChunkedArray<BinaryType>
) -> <&ChunkedArray<BinaryType> as Add<&ChunkedArray<BinaryType>>>::Output
fn add( self, rhs: &ChunkedArray<BinaryType> ) -> <&ChunkedArray<BinaryType> as Add<&ChunkedArray<BinaryType>>>::Output
+
operation. Read moresource§impl<T> Add<&ChunkedArray<T>> for &ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Add<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
+
operator.source§fn add(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as Add<&ChunkedArray<T>>>::Output
fn add( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Add<&ChunkedArray<T>>>::Output
+
operation. Read moresource§impl Add<&ChunkedArray<Utf8Type>> for &ChunkedArray<Utf8Type>
impl Add<&ChunkedArray<Utf8Type>> for &ChunkedArray<Utf8Type>
§type Output = ChunkedArray<Utf8Type>
type Output = ChunkedArray<Utf8Type>
+
operator.source§fn add(
self,
rhs: &ChunkedArray<Utf8Type>
) -> <&ChunkedArray<Utf8Type> as Add<&ChunkedArray<Utf8Type>>>::Output
fn add( self, rhs: &ChunkedArray<Utf8Type> ) -> <&ChunkedArray<Utf8Type> as Add<&ChunkedArray<Utf8Type>>>::Output
+
operation. Read moresource§impl Add<ChunkedArray<BinaryType>> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl Add<ChunkedArray<BinaryType>> for ChunkedArray<BinaryType>
dtype-binary
only.§type Output = ChunkedArray<BinaryType>
type Output = ChunkedArray<BinaryType>
+
operator.source§fn add(
self,
rhs: ChunkedArray<BinaryType>
) -> <ChunkedArray<BinaryType> as Add<ChunkedArray<BinaryType>>>::Output
fn add( self, rhs: ChunkedArray<BinaryType> ) -> <ChunkedArray<BinaryType> as Add<ChunkedArray<BinaryType>>>::Output
+
operation. Read moresource§impl<T> Add<ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Add<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
+
operator.source§fn add(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Add<ChunkedArray<T>>>::Output
fn add( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Add<ChunkedArray<T>>>::Output
+
operation. Read moresource§impl Add<ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
impl Add<ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
§type Output = ChunkedArray<Utf8Type>
type Output = ChunkedArray<Utf8Type>
+
operator.source§fn add(
self,
rhs: ChunkedArray<Utf8Type>
) -> <ChunkedArray<Utf8Type> as Add<ChunkedArray<Utf8Type>>>::Output
fn add( self, rhs: ChunkedArray<Utf8Type> ) -> <ChunkedArray<Utf8Type> as Add<ChunkedArray<Utf8Type>>>::Output
+
operation. Read moresource§impl<T, N> Add<N> for &ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Add<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
+
operator.source§impl<T, N> Add<N> for ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Add<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
+
operator.source§impl AggList for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl AggList for ChunkedArray<BinaryType>
dtype-binary
only.source§impl AggList for ChunkedArray<BooleanType>
impl AggList for ChunkedArray<BooleanType>
source§impl AggList for ChunkedArray<ListType>
impl AggList for ChunkedArray<ListType>
source§impl<T> AggList for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> AggList for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§impl<T> AggList for ChunkedArray<T>where
T: PolarsNumericType,
ChunkedArray<T>: IntoSeries,
impl<T> AggList for ChunkedArray<T>where T: PolarsNumericType, ChunkedArray<T>: IntoSeries,
source§impl AggList for ChunkedArray<Utf8Type>
impl AggList for ChunkedArray<Utf8Type>
source§impl AsBinary for ChunkedArray<BinaryType>
impl AsBinary for ChunkedArray<BinaryType>
fn as_binary(&self) -> &ChunkedArray<BinaryType>
source§impl AsList for ChunkedArray<ListType>
impl AsList for ChunkedArray<ListType>
fn as_list(&self) -> &ChunkedArray<ListType>
source§impl<'a, T> AsMut<ChunkedArray<T>> for dyn SeriesTrait + 'awhere
T: 'static + PolarsDataType,
impl<'a, T> AsMut<ChunkedArray<T>> for dyn SeriesTrait + 'awhere T: 'static + PolarsDataType,
source§fn as_mut(&mut self) -> &mut ChunkedArray<T>
fn as_mut(&mut self) -> &mut ChunkedArray<T>
source§impl<T> AsRef<ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsDataType,
impl<T> AsRef<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsDataType,
source§fn as_ref(&self) -> &ChunkedArray<T>
fn as_ref(&self) -> &ChunkedArray<T>
source§impl<'a, T> AsRef<ChunkedArray<T>> for dyn SeriesTrait + 'awhere
T: 'static + PolarsDataType,
impl<'a, T> AsRef<ChunkedArray<T>> for dyn SeriesTrait + 'awhere T: 'static + PolarsDataType,
source§fn as_ref(&self) -> &ChunkedArray<T>
fn as_ref(&self) -> &ChunkedArray<T>
source§impl AsUtf8 for ChunkedArray<Utf8Type>
impl AsUtf8 for ChunkedArray<Utf8Type>
fn as_utf8(&self) -> &ChunkedArray<Utf8Type>
source§impl AsUtf8 for ChunkedArray<Utf8Type>
impl AsUtf8 for ChunkedArray<Utf8Type>
fn as_utf8(&self) -> &ChunkedArray<Utf8Type>
source§impl BinaryNameSpaceImpl for ChunkedArray<BinaryType>
impl BinaryNameSpaceImpl for ChunkedArray<BinaryType>
source§fn contains(&self, lit: &[u8]) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn contains(&self, lit: &[u8]) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn contains_literal(
&self,
lit: &[u8]
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn contains_literal( &self, lit: &[u8] ) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn ends_with(&self, sub: &[u8]) -> ChunkedArray<BooleanType>
fn ends_with(&self, sub: &[u8]) -> ChunkedArray<BooleanType>
source§fn starts_with(&self, sub: &[u8]) -> ChunkedArray<BooleanType>
fn starts_with(&self, sub: &[u8]) -> ChunkedArray<BooleanType>
source§impl BitAnd<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>
impl BitAnd<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
&
operator.source§fn bitand(
self,
rhs: &ChunkedArray<BooleanType>
) -> <&ChunkedArray<BooleanType> as BitAnd<&ChunkedArray<BooleanType>>>::Output
fn bitand( self, rhs: &ChunkedArray<BooleanType> ) -> <&ChunkedArray<BooleanType> as BitAnd<&ChunkedArray<BooleanType>>>::Output
&
operation. Read moresource§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>,
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>
type Output = ChunkedArray<T>
&
operator.source§fn bitand(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as BitAnd<&ChunkedArray<T>>>::Output
fn bitand( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as BitAnd<&ChunkedArray<T>>>::Output
&
operation. Read moresource§impl BitAnd<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl BitAnd<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
&
operator.source§fn bitand(
self,
rhs: ChunkedArray<BooleanType>
) -> <ChunkedArray<BooleanType> as BitAnd<ChunkedArray<BooleanType>>>::Output
fn bitand( self, rhs: ChunkedArray<BooleanType> ) -> <ChunkedArray<BooleanType> as BitAnd<ChunkedArray<BooleanType>>>::Output
&
operation. Read moresource§impl BitOr<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>
impl BitOr<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
|
operator.source§fn bitor(
self,
rhs: &ChunkedArray<BooleanType>
) -> <&ChunkedArray<BooleanType> as BitOr<&ChunkedArray<BooleanType>>>::Output
fn bitor( self, rhs: &ChunkedArray<BooleanType> ) -> <&ChunkedArray<BooleanType> as BitOr<&ChunkedArray<BooleanType>>>::Output
|
operation. Read moresource§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>,
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>
type Output = ChunkedArray<T>
|
operator.source§fn bitor(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as BitOr<&ChunkedArray<T>>>::Output
fn bitor( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as BitOr<&ChunkedArray<T>>>::Output
|
operation. Read moresource§impl BitOr<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl BitOr<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
|
operator.source§fn bitor(
self,
rhs: ChunkedArray<BooleanType>
) -> <ChunkedArray<BooleanType> as BitOr<ChunkedArray<BooleanType>>>::Output
fn bitor( self, rhs: ChunkedArray<BooleanType> ) -> <ChunkedArray<BooleanType> as BitOr<ChunkedArray<BooleanType>>>::Output
|
operation. Read moresource§impl BitXor<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>
impl BitXor<&ChunkedArray<BooleanType>> for &ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
^
operator.source§fn bitxor(
self,
rhs: &ChunkedArray<BooleanType>
) -> <&ChunkedArray<BooleanType> as BitXor<&ChunkedArray<BooleanType>>>::Output
fn bitxor( self, rhs: &ChunkedArray<BooleanType> ) -> <&ChunkedArray<BooleanType> as BitXor<&ChunkedArray<BooleanType>>>::Output
^
operation. Read moresource§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>,
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>
type Output = ChunkedArray<T>
^
operator.source§fn bitxor(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as BitXor<&ChunkedArray<T>>>::Output
fn bitxor( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as BitXor<&ChunkedArray<T>>>::Output
^
operation. Read moresource§impl BitXor<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl BitXor<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
^
operator.source§fn bitxor(
self,
rhs: ChunkedArray<BooleanType>
) -> <ChunkedArray<BooleanType> as BitXor<ChunkedArray<BooleanType>>>::Output
fn bitxor( self, rhs: ChunkedArray<BooleanType> ) -> <ChunkedArray<BooleanType> as BitXor<ChunkedArray<BooleanType>>>::Output
^
operation. Read moresource§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>,
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>
fn sum(&self) -> Option<<T as PolarsNumericType>::Native>
None
if the array is empty or only contains null values.fn min(&self) -> Option<<T as PolarsNumericType>::Native>
source§impl ChunkAgg<u32> for ChunkedArray<BooleanType>
impl ChunkAgg<u32> for ChunkedArray<BooleanType>
Booleans are casted to 1 or 0.
source§impl ChunkAggSeries for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkAggSeries for ChunkedArray<BinaryType>
dtype-binary
only.source§fn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
source§fn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
source§fn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
source§fn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
source§impl ChunkAggSeries for ChunkedArray<BooleanType>
impl ChunkAggSeries for ChunkedArray<BooleanType>
source§fn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
source§fn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
source§fn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
source§fn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
source§impl ChunkAggSeries for ChunkedArray<ListType>
impl ChunkAggSeries for ChunkedArray<ListType>
source§fn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
source§fn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
source§fn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
source§fn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
source§impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
source§fn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
source§fn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
source§fn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
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,
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
fn sum_as_series(&self) -> Series
source§fn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
source§fn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
source§fn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
source§impl ChunkAggSeries for ChunkedArray<Utf8Type>
impl ChunkAggSeries for ChunkedArray<Utf8Type>
source§fn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
source§fn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
source§fn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
source§fn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
source§impl ChunkAnyValue for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkAnyValue for ChunkedArray<BinaryType>
dtype-binary
only.source§unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
source§fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
source§impl ChunkAnyValue for ChunkedArray<BooleanType>
impl ChunkAnyValue for ChunkedArray<BooleanType>
source§unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
source§fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
source§impl ChunkAnyValue for ChunkedArray<ListType>
impl ChunkAnyValue for ChunkedArray<ListType>
source§unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
source§fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
source§impl<T> ChunkAnyValue for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkAnyValue for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
source§fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
source§impl<T> ChunkAnyValue for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkAnyValue for ChunkedArray<T>where T: PolarsNumericType,
source§unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
source§fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
source§impl ChunkAnyValue for ChunkedArray<Utf8Type>
impl ChunkAnyValue for ChunkedArray<Utf8Type>
source§unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
source§fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
fn get_any_value(&self, index: usize) -> Result<AnyValue<'_>, PolarsError>
source§impl<'a> ChunkApply<'a, &'a [u8], Cow<'a, [u8]>> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl<'a> ChunkApply<'a, &'a [u8], Cow<'a, [u8]>> for ChunkedArray<BinaryType>
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,
fn apply_cast_numeric<F, S>(&'a self, f: F) -> ChunkedArray<S>where F: Fn(&'a [u8]) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,
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,
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,
source§fn apply<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where
F: Fn(&'a [u8]) -> Cow<'a, [u8]> + Copy,
fn apply<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where F: Fn(&'a [u8]) -> Cow<'a, [u8]> + Copy,
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,
fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where F: Fn(Option<&'a [u8]>) -> Option<Cow<'a, [u8]>> + Copy,
source§fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where
F: Fn((usize, &'a [u8])) -> Cow<'a, [u8]> + Copy,
fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<BinaryType>where F: Fn((usize, &'a [u8])) -> Cow<'a, [u8]> + Copy,
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,
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,
source§impl<'a, T> ChunkApply<'a, &'a T, T> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<'a, T> ChunkApply<'a, &'a T, T> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
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,
fn apply_cast_numeric<F, S>(&'a self, _f: F) -> ChunkedArray<S>where F: Fn(&'a T) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,
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,
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,
source§fn apply<F>(&'a self, f: F) -> ChunkedArray<ObjectType<T>>where
F: Fn(&'a T) -> T + Copy,
fn apply<F>(&'a self, f: F) -> ChunkedArray<ObjectType<T>>where F: Fn(&'a T) -> T + Copy,
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,
fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<ObjectType<T>>where F: Fn(Option<&'a T>) -> Option<T> + Copy,
source§fn apply_with_idx<F>(&'a self, _f: F) -> ChunkedArray<ObjectType<T>>where
F: Fn((usize, &'a T)) -> T + Copy,
fn apply_with_idx<F>(&'a self, _f: F) -> ChunkedArray<ObjectType<T>>where F: Fn((usize, &'a T)) -> T + Copy,
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,
fn apply_with_idx_on_opt<F>(&'a self, _f: F) -> ChunkedArray<ObjectType<T>>where F: Fn((usize, Option<&'a T>)) -> Option<T> + Copy,
source§impl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for ChunkedArray<Utf8Type>
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,
fn apply_cast_numeric<F, S>(&'a self, f: F) -> ChunkedArray<S>where F: Fn(&'a str) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,
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,
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,
source§fn apply<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where
F: Fn(&'a str) -> Cow<'a, str> + Copy,
fn apply<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where F: Fn(&'a str) -> Cow<'a, str> + Copy,
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,
fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where F: Fn(Option<&'a str>) -> Option<Cow<'a, str>> + Copy,
source§fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where
F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<Utf8Type>where F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
source§impl<'a, T> ChunkApply<'a, <T as PolarsNumericType>::Native, <T as PolarsNumericType>::Native> for ChunkedArray<T>where
T: PolarsNumericType,
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,
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,
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,
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,
source§fn apply<F>(&'a self, f: F) -> ChunkedArray<T>where
F: Fn(<T as PolarsNumericType>::Native) -> <T as PolarsNumericType>::Native + Copy,
fn apply<F>(&'a self, f: F) -> ChunkedArray<T>where F: Fn(<T as PolarsNumericType>::Native) -> <T as PolarsNumericType>::Native + Copy,
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,
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,
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,
fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<T>where F: Fn((usize, <T as PolarsNumericType>::Native)) -> <T as PolarsNumericType>::Native + Copy,
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,
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,
source§fn apply_to_slice<F, V>(&'a self, f: F, slice: &mut [V])where
F: Fn(Option<<T as PolarsNumericType>::Native>, &V) -> V,
fn apply_to_slice<F, V>(&'a self, f: F, slice: &mut [V])where F: Fn(Option<<T as PolarsNumericType>::Native>, &V) -> V,
source§impl<'a> ChunkApply<'a, Series, Series> for ChunkedArray<ListType>
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,
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,
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,
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,
fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(Series) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,
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,
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,
fn try_apply<F>(&'a self, f: F) -> Result<ChunkedArray<ListType>, PolarsError>where F: Fn(Series) -> Result<Series, PolarsError> + Copy,
source§impl<'a> ChunkApply<'a, bool, bool> for ChunkedArray<BooleanType>
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,
fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S>where F: Fn(bool) -> <S as PolarsNumericType>::Native + Copy, S: PolarsNumericType,
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,
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,
source§fn apply<F>(&self, f: F) -> ChunkedArray<BooleanType>where
F: Fn(bool) -> bool + Copy,
fn apply<F>(&self, f: F) -> ChunkedArray<BooleanType>where F: Fn(bool) -> bool + Copy,
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,
fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where F: Fn(Option<bool>) -> Option<bool> + Copy,
source§fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where
F: Fn((usize, bool)) -> bool + Copy,
fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where F: Fn((usize, bool)) -> bool + Copy,
source§fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where
F: Fn((usize, Option<bool>)) -> Option<bool> + Copy,
fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<BooleanType>where F: Fn((usize, Option<bool>)) -> Option<bool> + Copy,
source§impl ChunkApplyKernel<BinaryArray<i64>> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkApplyKernel<BinaryArray<i64>> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn apply_kernel(
&self,
f: &dyn Fn(&BinaryArray<i64>) -> Box<dyn Array + 'static, Global>
) -> ChunkedArray<BinaryType>
fn apply_kernel( &self, f: &dyn Fn(&BinaryArray<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<BinaryType>
source§fn apply_kernel_cast<S>(
&self,
f: &dyn Fn(&BinaryArray<i64>) -> Box<dyn Array + 'static, Global>
) -> ChunkedArray<S>where
S: PolarsDataType,
fn apply_kernel_cast<S>( &self, f: &dyn Fn(&BinaryArray<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,
source§impl ChunkApplyKernel<BooleanArray> for ChunkedArray<BooleanType>
impl ChunkApplyKernel<BooleanArray> for ChunkedArray<BooleanType>
source§fn apply_kernel(
&self,
f: &dyn Fn(&BooleanArray) -> Box<dyn Array + 'static, Global>
) -> ChunkedArray<BooleanType>
fn apply_kernel( &self, f: &dyn Fn(&BooleanArray) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<BooleanType>
source§fn apply_kernel_cast<S>(
&self,
f: &dyn Fn(&BooleanArray) -> Box<dyn Array + 'static, Global>
) -> ChunkedArray<S>where
S: PolarsDataType,
fn apply_kernel_cast<S>( &self, f: &dyn Fn(&BooleanArray) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,
source§impl<T> ChunkApplyKernel<PrimitiveArray<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn apply_kernel( &self, f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<T>
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,
fn apply_kernel_cast<S>( &self, f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,
source§impl ChunkApplyKernel<Utf8Array<i64>> for ChunkedArray<Utf8Type>
impl ChunkApplyKernel<Utf8Array<i64>> for ChunkedArray<Utf8Type>
source§fn apply_kernel(
&self,
f: &dyn Fn(&Utf8Array<i64>) -> Box<dyn Array + 'static, Global>
) -> ChunkedArray<Utf8Type>
fn apply_kernel( &self, f: &dyn Fn(&Utf8Array<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<Utf8Type>
source§fn apply_kernel_cast<S>(
&self,
f: &dyn Fn(&Utf8Array<i64>) -> Box<dyn Array + 'static, Global>
) -> ChunkedArray<S>where
S: PolarsDataType,
fn apply_kernel_cast<S>( &self, f: &dyn Fn(&Utf8Array<i64>) -> Box<dyn Array + 'static, Global> ) -> ChunkedArray<S>where S: PolarsDataType,
source§impl ChunkCast for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkCast for ChunkedArray<BinaryType>
dtype-binary
only.source§fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
[ChunkedArray]
to [DataType]
source§fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
source§impl ChunkCast for ChunkedArray<BooleanType>
impl ChunkCast for ChunkedArray<BooleanType>
source§fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
[ChunkedArray]
to [DataType]
source§fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
source§impl ChunkCast for ChunkedArray<ListType>
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>
fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
[ChunkedArray]
to [DataType]
source§fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
source§impl<T> ChunkCast for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkCast for ChunkedArray<T>where T: PolarsNumericType,
source§fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
[ChunkedArray]
to [DataType]
source§fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
source§impl ChunkCast for ChunkedArray<Utf8Type>
impl ChunkCast for ChunkedArray<Utf8Type>
source§fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast(&self, data_type: &DataType) -> Result<Series, PolarsError>
[ChunkedArray]
to [DataType]
source§fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
fn cast_unchecked(&self, data_type: &DataType) -> Result<Series, PolarsError>
source§impl ChunkCompare<&[u8]> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkCompare<&[u8]> for ChunkedArray<BinaryType>
dtype-binary
only.type Item = ChunkedArray<BooleanType>
source§fn equal(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
source§fn gt(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
source§fn lt(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &[u8]) -> ChunkedArray<BooleanType>
source§impl ChunkCompare<&ChunkedArray<BinaryType>> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkCompare<&ChunkedArray<BinaryType>> for ChunkedArray<BinaryType>
dtype-binary
only.type Item = ChunkedArray<BooleanType>
source§fn equal(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
source§fn gt(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
source§fn lt(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &ChunkedArray<BinaryType>) -> ChunkedArray<BooleanType>
source§impl ChunkCompare<&ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl ChunkCompare<&ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
type Item = ChunkedArray<BooleanType>
source§fn equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
source§fn gt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
source§fn lt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
source§impl ChunkCompare<&ChunkedArray<ListType>> for ChunkedArray<ListType>
impl ChunkCompare<&ChunkedArray<ListType>> for ChunkedArray<ListType>
type Item = ChunkedArray<BooleanType>
source§fn equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
source§fn gt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn gt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
source§fn lt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn lt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
source§impl<T> ChunkCompare<&ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkCompare<&ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,
type Item = ChunkedArray<BooleanType>
source§fn equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
source§fn gt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
source§fn lt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
source§impl ChunkCompare<&ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
impl ChunkCompare<&ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
type Item = ChunkedArray<BooleanType>
source§fn equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
source§fn gt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
source§fn lt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
source§impl ChunkCompare<&str> for ChunkedArray<Utf8Type>
impl ChunkCompare<&str> for ChunkedArray<Utf8Type>
type Item = ChunkedArray<BooleanType>
source§fn equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
source§fn gt(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &str) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
source§fn lt(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &str) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
source§impl<T, Rhs> ChunkCompare<Rhs> for ChunkedArray<T>where
T: PolarsNumericType,
Rhs: ToPrimitive,
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>
fn equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
source§fn not_equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
source§fn gt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
source§fn gt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
source§fn lt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
source§fn lt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
source§impl<T> ChunkCumAgg<T> for ChunkedArray<T>where
T: PolarsNumericType,
ChunkedArray<T>: FromIterator<Option<<T as PolarsNumericType>::Native>>,
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>
fn cummax(&self, reverse: bool) -> ChunkedArray<T>
source§fn cummin(&self, reverse: bool) -> ChunkedArray<T>
fn cummin(&self, reverse: bool) -> ChunkedArray<T>
source§fn cumsum(&self, reverse: bool) -> ChunkedArray<T>
fn cumsum(&self, reverse: bool) -> ChunkedArray<T>
source§fn cumprod(&self, reverse: bool) -> ChunkedArray<T>
fn cumprod(&self, reverse: bool) -> ChunkedArray<T>
source§impl ChunkExpandAtIndex<BinaryType> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkExpandAtIndex<BinaryType> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<BinaryType>
fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<BinaryType>
source§impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
source§fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<BooleanType>
fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<BooleanType>
source§impl ChunkExpandAtIndex<ListType> for ChunkedArray<ListType>
impl ChunkExpandAtIndex<ListType> for ChunkedArray<ListType>
source§fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<ListType>
fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<ListType>
source§impl<T> ChunkExpandAtIndex<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkExpandAtIndex<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn new_from_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<ObjectType<T>>
fn new_from_index( &self, index: usize, length: usize ) -> ChunkedArray<ObjectType<T>>
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>,
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>
fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<T>
source§impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
source§fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
source§impl ChunkExplode for ChunkedArray<ListType>
impl ChunkExplode for ChunkedArray<ListType>
fn explode_and_offsets( &self ) -> Result<(Series, OffsetsBuffer<i64>), PolarsError>
fn explode(&self) -> Result<Series, PolarsError>
source§impl ChunkExplode for ChunkedArray<Utf8Type>
impl ChunkExplode for ChunkedArray<Utf8Type>
fn explode_and_offsets( &self ) -> Result<(Series, OffsetsBuffer<i64>), PolarsError>
fn explode(&self) -> Result<Series, PolarsError>
source§impl ChunkFillNullValue<&[u8]> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkFillNullValue<&[u8]> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn fill_null_with_values(
&self,
value: &[u8]
) -> Result<ChunkedArray<BinaryType>, PolarsError>
fn fill_null_with_values( &self, value: &[u8] ) -> Result<ChunkedArray<BinaryType>, PolarsError>
T
.source§impl<T> ChunkFillNullValue<<T as PolarsNumericType>::Native> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn fill_null_with_values( &self, value: <T as PolarsNumericType>::Native ) -> Result<ChunkedArray<T>, PolarsError>
T
.source§impl ChunkFillNullValue<bool> for ChunkedArray<BooleanType>
impl ChunkFillNullValue<bool> for ChunkedArray<BooleanType>
source§fn fill_null_with_values(
&self,
value: bool
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn fill_null_with_values( &self, value: bool ) -> Result<ChunkedArray<BooleanType>, PolarsError>
T
.source§impl ChunkFilter<BinaryType> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkFilter<BinaryType> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BinaryType>, PolarsError>
fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<BinaryType>, PolarsError>
source§impl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>
impl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>
source§fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§impl ChunkFilter<ListType> for ChunkedArray<ListType>
impl ChunkFilter<ListType> for ChunkedArray<ListType>
source§fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ListType>, PolarsError>
fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<ListType>, PolarsError>
source§impl<T> ChunkFilter<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkFilter<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>where
ChunkedArray<ObjectType<T>>: Sized,
fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>where ChunkedArray<ObjectType<T>>: Sized,
source§impl<T> ChunkFilter<T> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkFilter<T> for ChunkedArray<T>where T: PolarsNumericType,
source§fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<T>, PolarsError>
fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<T>, PolarsError>
source§impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
source§fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn filter( &self, filter: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
source§impl<'a> ChunkFull<&'a [u8]> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl<'a> ChunkFull<&'a [u8]> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn full(name: &str, value: &'a [u8], length: usize) -> ChunkedArray<BinaryType>
fn full(name: &str, value: &'a [u8], length: usize) -> ChunkedArray<BinaryType>
source§impl<T> ChunkFull<<T as PolarsNumericType>::Native> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn full( name: &str, value: <T as PolarsNumericType>::Native, length: usize ) -> ChunkedArray<T>
source§impl<T> ChunkFull<T> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkFull<T> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn full(name: &str, value: T, length: usize) -> ChunkedArray<ObjectType<T>>where
ChunkedArray<ObjectType<T>>: Sized,
fn full(name: &str, value: T, length: usize) -> ChunkedArray<ObjectType<T>>where ChunkedArray<ObjectType<T>>: Sized,
source§impl ChunkFull<bool> for ChunkedArray<BooleanType>
impl ChunkFull<bool> for ChunkedArray<BooleanType>
source§fn full(name: &str, value: bool, length: usize) -> ChunkedArray<BooleanType>
fn full(name: &str, value: bool, length: usize) -> ChunkedArray<BooleanType>
source§impl ChunkFullNull for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkFullNull for ChunkedArray<BinaryType>
dtype-binary
only.fn full_null(name: &str, length: usize) -> ChunkedArray<BinaryType>
source§impl ChunkFullNull for ChunkedArray<BooleanType>
impl ChunkFullNull for ChunkedArray<BooleanType>
fn full_null(name: &str, length: usize) -> ChunkedArray<BooleanType>
source§impl ChunkFullNull for ChunkedArray<ListType>
impl ChunkFullNull for ChunkedArray<ListType>
source§impl<T> ChunkFullNull for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkFullNull for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.fn full_null(name: &str, length: usize) -> ChunkedArray<ObjectType<T>>
source§impl<T> ChunkFullNull for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkFullNull for ChunkedArray<T>where T: PolarsNumericType,
source§impl ChunkFullNull for ChunkedArray<Utf8Type>
impl ChunkFullNull for ChunkedArray<Utf8Type>
source§impl<T> ChunkPeaks for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkPeaks for ChunkedArray<T>where T: PolarsNumericType,
source§fn peak_max(&self) -> ChunkedArray<BooleanType>
fn peak_max(&self) -> ChunkedArray<BooleanType>
Get a boolean mask of the local maximum peaks.
source§fn peak_min(&self) -> ChunkedArray<BooleanType>
fn peak_min(&self) -> ChunkedArray<BooleanType>
Get a boolean mask of the local minimum peaks.
source§impl ChunkQuantile<Series> for ChunkedArray<ListType>
impl ChunkQuantile<Series> for ChunkedArray<ListType>
source§fn median(&self) -> Option<T>
fn median(&self) -> Option<T>
None
if the array is empty or only contains null values.source§fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>
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.
impl<T> ChunkQuantile<Series> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn median(&self) -> Option<T>
fn median(&self) -> Option<T>
None
if the array is empty or only contains null values.source§fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>
None
if the array is empty or only contains null values.source§impl ChunkQuantile<String> for ChunkedArray<Utf8Type>
impl ChunkQuantile<String> for ChunkedArray<Utf8Type>
source§fn median(&self) -> Option<T>
fn median(&self) -> Option<T>
None
if the array is empty or only contains null values.source§fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>
None
if the array is empty or only contains null values.source§impl ChunkQuantile<bool> for ChunkedArray<BooleanType>
impl ChunkQuantile<bool> for ChunkedArray<BooleanType>
source§fn median(&self) -> Option<T>
fn median(&self) -> Option<T>
None
if the array is empty or only contains null values.source§fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile( &self, _quantile: f64, _interpol: QuantileInterpolOptions ) -> Result<Option<T>, PolarsError>
None
if the array is empty or only contains null values.source§impl ChunkQuantile<f32> for ChunkedArray<Float32Type>
impl ChunkQuantile<f32> for ChunkedArray<Float32Type>
source§fn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f32>, PolarsError>
fn quantile( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Option<f32>, PolarsError>
None
if the array is empty or only contains null values.source§impl ChunkQuantile<f64> for ChunkedArray<Float64Type>
impl ChunkQuantile<f64> for ChunkedArray<Float64Type>
source§fn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f64>, PolarsError>
fn quantile( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Option<f64>, PolarsError>
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>,
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>
fn quantile( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Option<f64>, PolarsError>
None
if the array is empty or only contains null values.source§impl ChunkReverse<BinaryType> for ChunkedArray<BinaryType>
impl ChunkReverse<BinaryType> for ChunkedArray<BinaryType>
source§fn reverse(&self) -> ChunkedArray<BinaryType>
fn reverse(&self) -> ChunkedArray<BinaryType>
source§impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
source§fn reverse(&self) -> ChunkedArray<BooleanType>
fn reverse(&self) -> ChunkedArray<BooleanType>
source§impl ChunkReverse<ListType> for ChunkedArray<ListType>
impl ChunkReverse<ListType> for ChunkedArray<ListType>
source§fn reverse(&self) -> ChunkedArray<ListType>
fn reverse(&self) -> ChunkedArray<ListType>
source§impl<T> ChunkReverse<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkReverse<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn reverse(&self) -> ChunkedArray<ObjectType<T>>
fn reverse(&self) -> ChunkedArray<ObjectType<T>>
source§impl<T> ChunkReverse<T> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkReverse<T> for ChunkedArray<T>where T: PolarsNumericType,
source§fn reverse(&self) -> ChunkedArray<T>
fn reverse(&self) -> ChunkedArray<T>
source§impl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
source§fn reverse(&self) -> ChunkedArray<Utf8Type>
fn reverse(&self) -> ChunkedArray<Utf8Type>
source§impl<T> ChunkRollApply for ChunkedArray<T>where
T: PolarsNumericType,
ChunkedArray<T>: IntoSeries,
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>
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.
impl<'a> ChunkSet<'a, &'a [u8], Vec<u8, Global>> for ChunkedArray<BinaryType>
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,
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,
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>>,
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>>,
idx
by applying a closure to these values. Read moresource§fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<&'a [u8]>
) -> Result<ChunkedArray<BinaryType>, PolarsError>where
ChunkedArray<BinaryType>: Sized,
fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<&'a [u8]> ) -> Result<ChunkedArray<BinaryType>, PolarsError>where ChunkedArray<BinaryType>: Sized,
source§impl<'a> ChunkSet<'a, &'a str, String> for ChunkedArray<Utf8Type>
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,
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,
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>,
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>,
idx
by applying a closure to these values. Read moresource§fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>where
ChunkedArray<Utf8Type>: Sized,
fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<&'a str> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>where ChunkedArray<Utf8Type>: Sized,
source§impl<'a, T> ChunkSet<'a, <T as PolarsNumericType>::Native, <T as PolarsNumericType>::Native> for ChunkedArray<T>where
T: PolarsNumericType,
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>,
fn set_at_idx<I>( &'a self, idx: I, value: Option<<T as PolarsNumericType>::Native> ) -> Result<ChunkedArray<T>, PolarsError>where I: IntoIterator<Item = u32>,
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>,
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>,
idx
by applying a closure to these values. Read moresource§fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<<T as PolarsNumericType>::Native>
) -> Result<ChunkedArray<T>, PolarsError>
fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<<T as PolarsNumericType>::Native> ) -> Result<ChunkedArray<T>, PolarsError>
source§impl<'a> ChunkSet<'a, bool, bool> for ChunkedArray<BooleanType>
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>,
fn set_at_idx<I>( &'a self, idx: I, value: Option<bool> ) -> Result<ChunkedArray<BooleanType>, PolarsError>where I: IntoIterator<Item = u32>,
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>,
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>,
idx
by applying a closure to these values. Read moresource§fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn set( &'a self, mask: &ChunkedArray<BooleanType>, value: Option<bool> ) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§impl ChunkShift<BinaryType> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkShift<BinaryType> for ChunkedArray<BinaryType>
dtype-binary
only.fn shift(&self, periods: i64) -> ChunkedArray<BinaryType>
source§impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
fn shift(&self, periods: i64) -> ChunkedArray<BooleanType>
source§impl ChunkShift<ListType> for ChunkedArray<ListType>
impl ChunkShift<ListType> for ChunkedArray<ListType>
source§impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.fn shift(&self, periods: i64) -> ChunkedArray<ObjectType<T>>
source§impl<T> ChunkShift<T> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkShift<T> for ChunkedArray<T>where T: PolarsNumericType,
fn shift(&self, periods: i64) -> ChunkedArray<T>
source§impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
source§impl ChunkShiftFill<BinaryType, Option<&[u8]>> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkShiftFill<BinaryType, Option<&[u8]>> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&[u8]>
) -> ChunkedArray<BinaryType>
fn shift_and_fill( &self, periods: i64, fill_value: Option<&[u8]> ) -> ChunkedArray<BinaryType>
fill_value
.source§impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
source§fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<bool>
) -> ChunkedArray<BooleanType>
fn shift_and_fill( &self, periods: i64, fill_value: Option<bool> ) -> ChunkedArray<BooleanType>
fill_value
.source§impl ChunkShiftFill<ListType, Option<&Series>> for ChunkedArray<ListType>
impl ChunkShiftFill<ListType, Option<&Series>> for ChunkedArray<ListType>
source§fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&Series>
) -> ChunkedArray<ListType>
fn shift_and_fill( &self, periods: i64, fill_value: Option<&Series> ) -> ChunkedArray<ListType>
fill_value
.source§impl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn shift_and_fill(
&self,
_periods: i64,
_fill_value: Option<ObjectType<T>>
) -> ChunkedArray<ObjectType<T>>
fn shift_and_fill( &self, _periods: i64, _fill_value: Option<ObjectType<T>> ) -> ChunkedArray<ObjectType<T>>
fill_value
.source§impl<T> ChunkShiftFill<T, Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn shift_and_fill( &self, periods: i64, fill_value: Option<<T as PolarsNumericType>::Native> ) -> ChunkedArray<T>
fill_value
.source§impl ChunkShiftFill<Utf8Type, Option<&str>> for ChunkedArray<Utf8Type>
impl ChunkShiftFill<Utf8Type, Option<&str>> for ChunkedArray<Utf8Type>
source§fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&str>
) -> ChunkedArray<Utf8Type>
fn shift_and_fill( &self, periods: i64, fill_value: Option<&str> ) -> ChunkedArray<Utf8Type>
fill_value
.source§impl ChunkSort<BinaryType> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkSort<BinaryType> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
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.
fn sort_with(&self, options: SortOptions) -> ChunkedArray<BinaryType>
source§fn sort(&self, reverse: bool) -> ChunkedArray<BinaryType>
fn sort(&self, reverse: bool) -> ChunkedArray<BinaryType>
ChunkedArray
.source§fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
source§impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
fn sort_with(&self, options: SortOptions) -> ChunkedArray<BooleanType>
source§fn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>
fn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>
ChunkedArray
.source§fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
source§fn argsort_multiple(
&self,
_other: &[Series],
_reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn argsort_multiple( &self, _other: &[Series], _reverse: &[bool] ) -> Result<ChunkedArray<UInt32Type>, PolarsError>
source§impl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
impl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
source§fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
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
fn sort_with(&self, options: SortOptions) -> ChunkedArray<Float32Type>
source§fn sort(&self, reverse: bool) -> ChunkedArray<Float32Type>
fn sort(&self, reverse: bool) -> ChunkedArray<Float32Type>
ChunkedArray
.source§fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
source§impl ChunkSort<Float64Type> for ChunkedArray<Float64Type>
impl ChunkSort<Float64Type> for ChunkedArray<Float64Type>
source§fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
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
fn sort_with(&self, options: SortOptions) -> ChunkedArray<Float64Type>
source§fn sort(&self, reverse: bool) -> ChunkedArray<Float64Type>
fn sort(&self, reverse: bool) -> ChunkedArray<Float64Type>
ChunkedArray
.source§fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
source§impl<T> ChunkSort<T> for ChunkedArray<T>where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Default + Ord,
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>
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
fn sort_with(&self, options: SortOptions) -> ChunkedArray<T>
source§fn sort(&self, reverse: bool) -> ChunkedArray<T>
fn sort(&self, reverse: bool) -> ChunkedArray<T>
ChunkedArray
.source§fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
source§impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
source§fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
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.
fn sort_with(&self, options: SortOptions) -> ChunkedArray<Utf8Type>
source§fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
source§impl ChunkTake for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkTake for ChunkedArray<BinaryType>
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,
unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<BinaryType>where ChunkedArray<BinaryType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<BinaryType>, PolarsError>where
ChunkedArray<BinaryType>: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<BinaryType>, PolarsError>where ChunkedArray<BinaryType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§impl ChunkTake for ChunkedArray<BooleanType>
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,
unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<BooleanType>where ChunkedArray<BooleanType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<BooleanType>, PolarsError>where
ChunkedArray<BooleanType>: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<BooleanType>, PolarsError>where ChunkedArray<BooleanType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§impl ChunkTake for ChunkedArray<ListType>
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,
unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<ListType>where ChunkedArray<ListType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<ListType>, PolarsError>where
ChunkedArray<ListType>: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<ListType>, PolarsError>where ChunkedArray<ListType>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§impl<T> ChunkTake for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkTake for ChunkedArray<ObjectType<T>>where T: PolarsObject,
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,
unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<ObjectType<T>>where ChunkedArray<ObjectType<T>>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>where
ChunkedArray<ObjectType<T>>: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>where ChunkedArray<ObjectType<T>>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§impl<T> ChunkTake for ChunkedArray<T>where
T: PolarsNumericType,
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,
unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<T>where ChunkedArray<T>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<T>, PolarsError>where
ChunkedArray<T>: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<T>, PolarsError>where ChunkedArray<T>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§impl ChunkTake for ChunkedArray<Utf8Type>
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,
unsafe fn take_unchecked<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> ChunkedArray<Utf8Type>where ChunkedArray<Utf8Type>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>where
ChunkedArray<Utf8Type>: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>( &self, indices: TakeIdx<'_, I, INulls> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>where ChunkedArray<Utf8Type>: Sized, I: TakeIterator, INulls: TakeIteratorNulls,
source§impl ChunkTakeEvery<BinaryType> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkTakeEvery<BinaryType> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn take_every(&self, n: usize) -> ChunkedArray<BinaryType>
fn take_every(&self, n: usize) -> ChunkedArray<BinaryType>
source§impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
source§fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
source§impl ChunkTakeEvery<ListType> for ChunkedArray<ListType>
impl ChunkTakeEvery<ListType> for ChunkedArray<ListType>
source§fn take_every(&self, n: usize) -> ChunkedArray<ListType>
fn take_every(&self, n: usize) -> ChunkedArray<ListType>
source§impl<T> ChunkTakeEvery<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkTakeEvery<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn take_every(&self, _n: usize) -> ChunkedArray<ObjectType<T>>
fn take_every(&self, _n: usize) -> ChunkedArray<ObjectType<T>>
source§impl<T> ChunkTakeEvery<T> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> ChunkTakeEvery<T> for ChunkedArray<T>where T: PolarsNumericType,
source§fn take_every(&self, n: usize) -> ChunkedArray<T>
fn take_every(&self, n: usize) -> ChunkedArray<T>
source§impl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
source§fn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>
fn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>
source§impl ChunkUnique<BinaryType> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkUnique<BinaryType> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn unique(&self) -> Result<ChunkedArray<BinaryType>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<BinaryType>, PolarsError>
source§fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
ChunkedArray
.
This Vec is sorted.source§fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn mode(&self) -> Result<ChunkedArray<BinaryType>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<BinaryType>, PolarsError>
mode
only.source§impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
source§fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
ChunkedArray
.
This Vec is sorted.source§fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.source§impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
source§fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
source§fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
ChunkedArray
.
This Vec is sorted.source§fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.source§impl ChunkUnique<Float64Type> for ChunkedArray<Float64Type>
impl ChunkUnique<Float64Type> for ChunkedArray<Float64Type>
source§fn unique(&self) -> Result<ChunkedArray<Float64Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Float64Type>, PolarsError>
source§fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
ChunkedArray
.
This Vec is sorted.source§fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.source§impl<T> ChunkUnique<ObjectType<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkUnique<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn unique(&self) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
source§fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
ChunkedArray
.
This Vec is sorted.source§fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.source§impl<T> ChunkUnique<T> for ChunkedArray<T>where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Hash + Eq + Ord,
ChunkedArray<T>: IntoSeries,
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>
fn unique(&self) -> Result<ChunkedArray<T>, PolarsError>
source§fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
ChunkedArray
.
This Vec is sorted.source§fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.source§impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
source§fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
source§fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
ChunkedArray
.
This Vec is sorted.source§fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn mode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
mode
only.source§impl<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§impl ChunkVar<bool> for ChunkedArray<BooleanType>
impl ChunkVar<bool> for ChunkedArray<BooleanType>
source§impl ChunkVar<f32> for ChunkedArray<Float32Type>
impl ChunkVar<f32> for ChunkedArray<Float32Type>
source§impl ChunkVar<f64> for ChunkedArray<Float64Type>
impl ChunkVar<f64> for ChunkedArray<Float64Type>
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>,
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§impl ChunkZip<BinaryType> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl ChunkZip<BinaryType> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<BinaryType>
) -> Result<ChunkedArray<BinaryType>, PolarsError>
fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<BinaryType> ) -> Result<ChunkedArray<BinaryType>, PolarsError>
true
and values
from other
where the mask evaluates false
source§impl ChunkZip<BooleanType> for ChunkedArray<BooleanType>
impl ChunkZip<BooleanType> for ChunkedArray<BooleanType>
source§fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<BooleanType> ) -> Result<ChunkedArray<BooleanType>, PolarsError>
true
and values
from other
where the mask evaluates false
source§impl ChunkZip<ListType> for ChunkedArray<ListType>
impl ChunkZip<ListType> for ChunkedArray<ListType>
source§fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<ListType>
) -> Result<ChunkedArray<ListType>, PolarsError>
fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<ListType> ) -> Result<ChunkedArray<ListType>, PolarsError>
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.
impl<T> ChunkZip<ObjectType<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<ObjectType<T>>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<ObjectType<T>> ) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
true
and values
from other
where the mask evaluates false
source§impl<T> ChunkZip<T> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<T> ) -> Result<ChunkedArray<T>, PolarsError>
true
and values
from other
where the mask evaluates false
source§impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
source§fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<Utf8Type>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn zip_with( &self, mask: &ChunkedArray<BooleanType>, other: &ChunkedArray<Utf8Type> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
true
and values
from other
where the mask evaluates false
source§impl<'a> ChunkedSet<&'a str> for &'a ChunkedArray<Utf8Type>
impl<'a> ChunkedSet<&'a str> for &'a ChunkedArray<Utf8Type>
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,
impl<T> ChunkedSet<<T as PolarsNumericType>::Native> for ChunkedArray<T>where T: PolarsOpsNumericType, ChunkedArray<T>: IntoSeries,
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>
impl ChunkedSet<bool> for &ChunkedArray<BooleanType>
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,
impl<T> Clone for ChunkedArray<T>where T: PolarsDataType,
source§fn clone(&self) -> ChunkedArray<T>
fn clone(&self) -> ChunkedArray<T>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl Debug for ChunkedArray<BinaryType>
dtype-binary
only.source§impl Debug for ChunkedArray<BooleanType>
impl Debug for ChunkedArray<BooleanType>
source§impl Debug for ChunkedArray<ListType>
impl Debug for ChunkedArray<ListType>
source§impl<T> Debug for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> Debug for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§impl<T> Debug for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Debug for ChunkedArray<T>where T: PolarsNumericType,
source§impl Debug for ChunkedArray<Utf8Type>
impl Debug for ChunkedArray<Utf8Type>
source§impl<T> Default for ChunkedArray<T>where
T: PolarsDataType,
impl<T> Default for ChunkedArray<T>where T: PolarsDataType,
source§fn default() -> ChunkedArray<T>
fn default() -> ChunkedArray<T>
source§impl<T> Div<&ChunkedArray<T>> for &ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Div<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
/
operator.source§fn div(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as Div<&ChunkedArray<T>>>::Output
fn div( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Div<&ChunkedArray<T>>>::Output
/
operation. Read moresource§impl<T> Div<ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Div<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
/
operator.source§fn div(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Div<ChunkedArray<T>>>::Output
fn div( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Div<ChunkedArray<T>>>::Output
/
operation. Read moresource§impl<T, N> Div<N> for &ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Div<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
/
operator.source§impl<T, N> Div<N> for ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Div<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
/
operator.source§impl<T> Drop for ChunkedArray<T>where
T: PolarsDataType,
impl<T> Drop for ChunkedArray<T>where T: PolarsDataType,
source§impl<T> From<&[<T as PolarsNumericType>::Native]> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> From<&[<T as PolarsNumericType>::Native]> for ChunkedArray<T>where T: PolarsNumericType,
source§fn from(slice: &[<T as PolarsNumericType>::Native]) -> ChunkedArray<T>
fn from(slice: &[<T as PolarsNumericType>::Native]) -> ChunkedArray<T>
source§impl<'a> From<&'a ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
impl<'a> From<&'a ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
source§fn from(ca: &'a ChunkedArray<BooleanType>) -> Vec<Option<bool>, Global> ⓘ
fn from(ca: &'a ChunkedArray<BooleanType>) -> Vec<Option<bool>, Global> ⓘ
source§impl<'a, T> From<&'a ChunkedArray<T>> for Vec<Option<<T as PolarsNumericType>::Native>, Global>where
T: PolarsNumericType,
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> ⓘ
fn from( ca: &'a ChunkedArray<T> ) -> Vec<Option<<T as PolarsNumericType>::Native>, Global> ⓘ
source§impl<'a> From<&'a ChunkedArray<UInt32Type>> for TakeIdx<'a, Once<usize>, Once<Option<usize>>>
impl<'a> From<&'a ChunkedArray<UInt32Type>> for TakeIdx<'a, Once<usize>, Once<Option<usize>>>
Conversion from UInt32Chunked to Unchecked TakeIdx
source§impl From<(&str, BinaryArray<i64>)> for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl From<(&str, BinaryArray<i64>)> for ChunkedArray<BinaryType>
dtype-binary
only.source§fn from(tpl: (&str, BinaryArray<i64>)) -> ChunkedArray<BinaryType>
fn from(tpl: (&str, BinaryArray<i64>)) -> ChunkedArray<BinaryType>
source§impl From<(&str, BooleanArray)> for ChunkedArray<BooleanType>
impl From<(&str, BooleanArray)> for ChunkedArray<BooleanType>
source§fn from(tpl: (&str, BooleanArray)) -> ChunkedArray<BooleanType>
fn from(tpl: (&str, BooleanArray)) -> ChunkedArray<BooleanType>
source§impl<T> From<(&str, PrimitiveArray<<T as PolarsNumericType>::Native>)> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn from( tpl: (&str, PrimitiveArray<<T as PolarsNumericType>::Native>) ) -> ChunkedArray<T>
source§impl From<BooleanArray> for ChunkedArray<BooleanType>
impl From<BooleanArray> for ChunkedArray<BooleanType>
source§fn from(arr: BooleanArray) -> ChunkedArray<BooleanType>
fn from(arr: BooleanArray) -> ChunkedArray<BooleanType>
source§impl From<ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
impl From<ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
source§fn from(ca: ChunkedArray<BooleanType>) -> Vec<Option<bool>, Global> ⓘ
fn from(ca: ChunkedArray<BooleanType>) -> Vec<Option<bool>, Global> ⓘ
source§impl<T> From<ChunkedArray<T>> for Serieswhere
T: PolarsDataType,
ChunkedArray<T>: IntoSeries,
impl<T> From<ChunkedArray<T>> for Serieswhere T: PolarsDataType, ChunkedArray<T>: IntoSeries,
source§fn from(ca: ChunkedArray<T>) -> Series
fn from(ca: ChunkedArray<T>) -> Series
source§impl<T> From<PrimitiveArray<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn from(a: PrimitiveArray<<T as PolarsNumericType>::Native>) -> ChunkedArray<T>
source§impl<T> FromIterator<(Vec<<T as PolarsNumericType>::Native, Global>, Option<Bitmap>)> for ChunkedArray<T>where
T: PolarsNumericType,
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>)>,
fn from_iter<I>(iter: I) -> ChunkedArray<T>where I: IntoIterator<Item = (Vec<<T as PolarsNumericType>::Native, Global>, Option<Bitmap>)>,
source§impl<T> FromIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where
T: PolarsNumericType,
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>>,
fn from_iter<I>(iter: I) -> ChunkedArray<T>where I: IntoIterator<Item = Option<<T as PolarsNumericType>::Native>>,
source§impl FromIterator<Option<Box<dyn Array + 'static, Global>>> for ChunkedArray<ListType>
impl FromIterator<Option<Box<dyn Array + 'static, Global>>> for ChunkedArray<ListType>
source§impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<BinaryType>where
Ptr: AsRef<[u8]>,
Available on crate feature dtype-binary
only.
impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<BinaryType>where Ptr: AsRef<[u8]>,
dtype-binary
only.source§fn from_iter<I>(iter: I) -> ChunkedArray<BinaryType>where
I: IntoIterator<Item = Option<Ptr>>,
fn from_iter<I>(iter: I) -> ChunkedArray<BinaryType>where I: IntoIterator<Item = Option<Ptr>>,
source§impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<Utf8Type>where
Ptr: AsRef<str>,
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>>,
fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoIterator<Item = Option<Ptr>>,
source§impl FromIterator<Option<Series>> for ChunkedArray<ListType>
impl FromIterator<Option<Series>> for ChunkedArray<ListType>
source§fn from_iter<I>(iter: I) -> ChunkedArray<ListType>where
I: IntoIterator<Item = Option<Series>>,
fn from_iter<I>(iter: I) -> ChunkedArray<ListType>where I: IntoIterator<Item = Option<Series>>,
source§impl<T> FromIterator<Option<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> FromIterator<Option<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn from_iter<I>(iter: I) -> ChunkedArray<ObjectType<T>>where
I: IntoIterator<Item = Option<T>>,
fn from_iter<I>(iter: I) -> ChunkedArray<ObjectType<T>>where I: IntoIterator<Item = Option<T>>,
source§impl FromIterator<Option<bool>> for ChunkedArray<BooleanType>
impl FromIterator<Option<bool>> for ChunkedArray<BooleanType>
source§fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType>where
I: IntoIterator<Item = Option<bool>>,
fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoIterator<Item = Option<bool>>,
source§impl<Ptr> FromIterator<Ptr> for ChunkedArray<BinaryType>where
Ptr: PolarsAsRef<[u8]>,
Available on crate feature dtype-binary
only.
impl<Ptr> FromIterator<Ptr> for ChunkedArray<BinaryType>where Ptr: PolarsAsRef<[u8]>,
dtype-binary
only.source§fn from_iter<I>(iter: I) -> ChunkedArray<BinaryType>where
I: IntoIterator<Item = Ptr>,
fn from_iter<I>(iter: I) -> ChunkedArray<BinaryType>where I: IntoIterator<Item = Ptr>,
source§impl<Ptr> FromIterator<Ptr> for ChunkedArray<ListType>where
Ptr: Borrow<Series>,
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>,
fn from_iter<I>(iter: I) -> ChunkedArray<ListType>where I: IntoIterator<Item = Ptr>,
source§impl<Ptr> FromIterator<Ptr> for ChunkedArray<Utf8Type>where
Ptr: PolarsAsRef<str>,
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>,
fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoIterator<Item = Ptr>,
source§impl FromIterator<bool> for ChunkedArray<BooleanType>
impl FromIterator<bool> for ChunkedArray<BooleanType>
source§fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType>where
I: IntoIterator<Item = bool>,
fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoIterator<Item = bool>,
source§impl<T> FromIteratorReversed<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> FromIteratorReversed<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,
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>
impl FromIteratorReversed<Option<bool>> for ChunkedArray<BooleanType>
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,
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>>,
fn from_par_iter<I>(iter: I) -> ChunkedArray<T>where I: IntoParallelIterator<Item = Option<<T as PolarsNumericType>::Native>>,
par_iter
. Read moresource§impl<Ptr> FromParallelIterator<Option<Ptr>> for ChunkedArray<Utf8Type>where
Ptr: AsRef<str> + Send + Sync,
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>>,
fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoParallelIterator<Item = Option<Ptr>>,
par_iter
. Read moresource§impl FromParallelIterator<Option<Series>> for ChunkedArray<ListType>
impl FromParallelIterator<Option<Series>> for ChunkedArray<ListType>
source§fn from_par_iter<I>(iter: I) -> ChunkedArray<ListType>where
I: IntoParallelIterator<Item = Option<Series>>,
fn from_par_iter<I>(iter: I) -> ChunkedArray<ListType>where I: IntoParallelIterator<Item = Option<Series>>,
par_iter
. Read moresource§impl FromParallelIterator<Option<bool>> for ChunkedArray<BooleanType>
impl FromParallelIterator<Option<bool>> for ChunkedArray<BooleanType>
source§fn from_par_iter<I>(iter: I) -> ChunkedArray<BooleanType>where
I: IntoParallelIterator<Item = Option<bool>>,
fn from_par_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoParallelIterator<Item = Option<bool>>,
par_iter
. Read moresource§impl<Ptr> FromParallelIterator<Ptr> for ChunkedArray<Utf8Type>where
Ptr: PolarsAsRef<str> + Send + Sync,
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>,
fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoParallelIterator<Item = Ptr>,
par_iter
. Read moresource§impl FromParallelIterator<bool> for ChunkedArray<BooleanType>
impl FromParallelIterator<bool> for ChunkedArray<BooleanType>
source§fn from_par_iter<I>(iter: I) -> ChunkedArray<BooleanType>where
I: IntoParallelIterator<Item = bool>,
fn from_par_iter<I>(iter: I) -> ChunkedArray<BooleanType>where I: IntoParallelIterator<Item = bool>,
par_iter
. Read moresource§impl<T> FromTrustedLenIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> FromTrustedLenIterator<Option<<T as PolarsNumericType>::Native>> for ChunkedArray<T>where T: PolarsNumericType,
fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<T>where I: IntoIterator<Item = Option<<T as PolarsNumericType>::Native>>,
source§impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<BinaryType>where
Ptr: AsRef<[u8]>,
Available on crate feature dtype-binary
only.
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<BinaryType>where Ptr: AsRef<[u8]>,
dtype-binary
only.fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<BinaryType>where I: IntoIterator<Item = Option<Ptr>>,
source§impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<Utf8Type>where
Ptr: AsRef<str>,
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<Utf8Type>where Ptr: AsRef<str>,
fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoIterator<Item = Option<Ptr>>,
source§impl FromTrustedLenIterator<Option<Series>> for ChunkedArray<ListType>
impl FromTrustedLenIterator<Option<Series>> for ChunkedArray<ListType>
fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<ListType>where I: IntoIterator<Item = Option<Series>>,
source§impl<T> FromTrustedLenIterator<Option<T>> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> FromTrustedLenIterator<Option<T>> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<ObjectType<T>>where I: IntoIterator<Item = Option<T>>,
source§impl FromTrustedLenIterator<Option<bool>> for ChunkedArray<BooleanType>
impl FromTrustedLenIterator<Option<bool>> for ChunkedArray<BooleanType>
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.
impl<Ptr> FromTrustedLenIterator<Ptr> for ChunkedArray<BinaryType>where Ptr: PolarsAsRef<[u8]>,
dtype-binary
only.fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<BinaryType>where I: IntoIterator<Item = Ptr>,
source§impl<Ptr> FromTrustedLenIterator<Ptr> for ChunkedArray<ListType>where
Ptr: Borrow<Series>,
impl<Ptr> FromTrustedLenIterator<Ptr> for ChunkedArray<ListType>where Ptr: Borrow<Series>,
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>,
impl<Ptr> FromTrustedLenIterator<Ptr> for ChunkedArray<Utf8Type>where Ptr: PolarsAsRef<str>,
fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<Utf8Type>where I: IntoIterator<Item = Ptr>,
source§impl FromTrustedLenIterator<bool> for ChunkedArray<BooleanType>
impl FromTrustedLenIterator<bool> for ChunkedArray<BooleanType>
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.
impl IntoGroupsProxy for ChunkedArray<BinaryType>
dtype-binary
only.source§fn group_tuples<'a>(
&'a self,
multithreaded: bool,
sorted: bool
) -> Result<GroupsProxy, PolarsError>
fn group_tuples<'a>( &'a self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>
source§impl IntoGroupsProxy for ChunkedArray<BooleanType>
impl IntoGroupsProxy for ChunkedArray<BooleanType>
source§fn group_tuples(
&self,
multithreaded: bool,
sorted: bool
) -> Result<GroupsProxy, PolarsError>
fn group_tuples( &self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>
source§impl IntoGroupsProxy for ChunkedArray<ListType>
impl IntoGroupsProxy for ChunkedArray<ListType>
source§fn group_tuples<'a>(
&'a self,
multithreaded: bool,
sorted: bool
) -> Result<GroupsProxy, PolarsError>
fn group_tuples<'a>( &'a self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>
source§impl<T> IntoGroupsProxy for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> IntoGroupsProxy for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn group_tuples(
&self,
_multithreaded: bool,
sorted: bool
) -> Result<GroupsProxy, PolarsError>
fn group_tuples( &self, _multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>
source§impl<T> IntoGroupsProxy for ChunkedArray<T>where
T: PolarsNumericType,
<T as PolarsNumericType>::Native: NumCast,
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>
fn group_tuples( &self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>
source§impl IntoGroupsProxy for ChunkedArray<Utf8Type>
impl IntoGroupsProxy for ChunkedArray<Utf8Type>
source§fn group_tuples<'a>(
&'a self,
multithreaded: bool,
sorted: bool
) -> Result<GroupsProxy, PolarsError>
fn group_tuples<'a>( &'a self, multithreaded: bool, sorted: bool ) -> Result<GroupsProxy, PolarsError>
source§impl<'a> IntoIterator for &'a ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl<'a> IntoIterator for &'a ChunkedArray<BinaryType>
dtype-binary
only.§type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BinaryType> as IntoIterator>::Item> + 'a, Global>
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BinaryType> as IntoIterator>::Item> + 'a, Global>
source§fn into_iter(self) -> <&'a ChunkedArray<BinaryType> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<BinaryType> as IntoIterator>::IntoIter
source§impl<'a> IntoIterator for &'a ChunkedArray<BooleanType>
impl<'a> IntoIterator for &'a ChunkedArray<BooleanType>
§type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BooleanType> as IntoIterator>::Item> + 'a, Global>
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BooleanType> as IntoIterator>::Item> + 'a, Global>
source§fn into_iter(self) -> <&'a ChunkedArray<BooleanType> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<BooleanType> as IntoIterator>::IntoIter
source§impl<'a> IntoIterator for &'a ChunkedArray<ListType>
impl<'a> IntoIterator for &'a ChunkedArray<ListType>
§type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ListType> as IntoIterator>::Item> + 'a, Global>
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ListType> as IntoIterator>::Item> + 'a, Global>
source§fn into_iter(self) -> <&'a ChunkedArray<ListType> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<ListType> as IntoIterator>::IntoIter
source§impl<'a, T> IntoIterator for &'a ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<'a, T> IntoIterator for &'a ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.§type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::Item> + 'a, Global>
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::Item> + 'a, Global>
source§fn into_iter(
self
) -> <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::IntoIter
fn into_iter( self ) -> <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::IntoIter
source§impl<'a, T> IntoIterator for &'a ChunkedArray<T>where
T: PolarsNumericType,
impl<'a, T> IntoIterator for &'a ChunkedArray<T>where T: PolarsNumericType,
§type Item = Option<<T as PolarsNumericType>::Native>
type Item = Option<<T as PolarsNumericType>::Native>
§type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<T> as IntoIterator>::Item> + 'a, Global>
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<T> as IntoIterator>::Item> + 'a, Global>
source§fn into_iter(self) -> <&'a ChunkedArray<T> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<T> as IntoIterator>::IntoIter
source§impl<'a> IntoIterator for &'a ChunkedArray<Utf8Type>
impl<'a> IntoIterator for &'a ChunkedArray<Utf8Type>
§type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<Utf8Type> as IntoIterator>::Item> + 'a, Global>
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<Utf8Type> as IntoIterator>::Item> + 'a, Global>
source§fn into_iter(self) -> <&'a ChunkedArray<Utf8Type> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<Utf8Type> as IntoIterator>::IntoIter
source§impl<T> IntoSeries for ChunkedArray<T>where
T: PolarsDataType + 'static,
SeriesWrap<ChunkedArray<T>>: SeriesTrait,
impl<T> IntoSeries for ChunkedArray<T>where T: PolarsDataType + 'static, SeriesWrap<ChunkedArray<T>>: SeriesTrait,
fn into_series(self) -> Serieswhere ChunkedArray<T>: Sized,
fn is_series() -> bool
source§impl<T> IntoSeriesOps for &ChunkedArray<T>where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: NumericNative,
impl<T> IntoSeriesOps for &ChunkedArray<T>where T: PolarsIntegerType, <T as PolarsNumericType>::Native: NumericNative,
fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>
source§impl IntoSeriesOps for ChunkedArray<BooleanType>
impl IntoSeriesOps for ChunkedArray<BooleanType>
fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>
source§impl IntoSeriesOps for ChunkedArray<Float32Type>
impl IntoSeriesOps for ChunkedArray<Float32Type>
fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>
source§impl IntoSeriesOps for ChunkedArray<Float64Type>
impl IntoSeriesOps for ChunkedArray<Float64Type>
fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>
source§impl IntoSeriesOps for ChunkedArray<ListType>
impl IntoSeriesOps for ChunkedArray<ListType>
fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>
source§impl IntoSeriesOps for ChunkedArray<Utf8Type>
impl IntoSeriesOps for ChunkedArray<Utf8Type>
fn to_ops(&self) -> Arc<dyn SeriesOpsTime + 'static>
source§impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<BinaryType>
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
fn take_rand( &self ) -> <&'a ChunkedArray<BinaryType> as IntoTakeRandom<'a>>::TakeRandom
TakeRandom
.source§impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<BooleanType>
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
fn take_rand( &self ) -> <&'a ChunkedArray<BooleanType> as IntoTakeRandom<'a>>::TakeRandom
TakeRandom
.source§impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<ListType>
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
fn take_rand( &self ) -> <&'a ChunkedArray<ListType> as IntoTakeRandom<'a>>::TakeRandom
TakeRandom
.source§impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<ObjectType<T>>where T: PolarsObject,
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
fn take_rand( &self ) -> <&'a ChunkedArray<ObjectType<T>> as IntoTakeRandom<'a>>::TakeRandom
TakeRandom
.source§impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<T>where
T: PolarsNumericType,
impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<T>where T: PolarsNumericType,
type Item = <T as PolarsNumericType>::Native
type TakeRandom = TakeRandBranch3<NumTakeRandomCont<'a, <T as PolarsNumericType>::Native>, NumTakeRandomSingleChunk<'a, <T as PolarsNumericType>::Native>, NumTakeRandomChunked<'a, <T as PolarsNumericType>::Native>>
source§fn take_rand(&self) -> <&'a ChunkedArray<T> as IntoTakeRandom<'a>>::TakeRandom
fn take_rand(&self) -> <&'a ChunkedArray<T> as IntoTakeRandom<'a>>::TakeRandom
TakeRandom
.source§impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<Utf8Type>
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
fn take_rand( &self ) -> <&'a ChunkedArray<Utf8Type> as IntoTakeRandom<'a>>::TakeRandom
TakeRandom
.source§impl IsIn for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl IsIn for ChunkedArray<BinaryType>
dtype-binary
only.source§fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§impl IsIn for ChunkedArray<BooleanType>
impl IsIn for ChunkedArray<BooleanType>
source§fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§impl<T> IsIn for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> IsIn for ChunkedArray<T>where T: PolarsNumericType,
source§fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§impl IsIn for ChunkedArray<Utf8Type>
impl IsIn for ChunkedArray<Utf8Type>
source§fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_in(&self, other: &Series) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§impl ListNameSpaceImpl for ChunkedArray<ListType>
impl ListNameSpaceImpl for ChunkedArray<ListType>
source§fn lst_join(
&self,
separator: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn lst_join( &self, separator: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
DataType::Utf8
, the individual items will be joined into a
single string separated by separator
.fn lst_max(&self) -> Series
fn lst_min(&self) -> Series
fn lst_sum(&self) -> Series
fn lst_mean(&self) -> ChunkedArray<Float64Type>
fn lst_sort(&self, options: SortOptions) -> ChunkedArray<ListType>
fn lst_reverse(&self) -> ChunkedArray<ListType>
fn lst_unique(&self) -> Result<ChunkedArray<ListType>, PolarsError>
fn lst_arg_min(&self) -> ChunkedArray<UInt32Type>
fn lst_arg_max(&self) -> ChunkedArray<UInt32Type>
source§fn lst_diff(
&self,
n: usize,
null_behavior: NullBehavior
) -> ChunkedArray<ListType>
fn lst_diff( &self, n: usize, null_behavior: NullBehavior ) -> ChunkedArray<ListType>
diff
only.fn lst_shift(&self, periods: i64) -> ChunkedArray<ListType>
fn lst_slice(&self, offset: i64, length: usize) -> ChunkedArray<ListType>
fn lst_lengths(&self) -> ChunkedArray<UInt32Type>
source§fn lst_get(&self, idx: i64) -> Result<Series, PolarsError>
fn lst_get(&self, idx: i64) -> Result<Series, PolarsError>
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
.fn lst_concat( &self, other: &[Series] ) -> Result<ChunkedArray<ListType>, PolarsError>
source§impl<T> Mul<&ChunkedArray<T>> for &ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Mul<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
*
operator.source§fn mul(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as Mul<&ChunkedArray<T>>>::Output
fn mul( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Mul<&ChunkedArray<T>>>::Output
*
operation. Read moresource§impl<T> Mul<ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Mul<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
*
operator.source§fn mul(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Mul<ChunkedArray<T>>>::Output
fn mul( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Mul<ChunkedArray<T>>>::Output
*
operation. Read moresource§impl<T, N> Mul<N> for &ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Mul<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
*
operator.source§impl<T, N> Mul<N> for ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Mul<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
*
operator.source§impl<T> NamedFrom<&[T], &[T]> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<T> NamedFrom<&[T], &[T]> for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.source§fn new(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>
fn new(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>
source§impl NamedFrom<Range<u32>, UInt32Type> for ChunkedArray<UInt32Type>
impl NamedFrom<Range<u32>, UInt32Type> for ChunkedArray<UInt32Type>
source§fn new(name: &str, range: Range<u32>) -> ChunkedArray<UInt32Type>
fn new(name: &str, range: Range<u32>) -> ChunkedArray<UInt32Type>
source§impl NamedFrom<Range<u64>, UInt64Type> for ChunkedArray<UInt64Type>
impl NamedFrom<Range<u64>, UInt64Type> for ChunkedArray<UInt64Type>
source§fn new(name: &str, range: Range<u64>) -> ChunkedArray<UInt64Type>
fn new(name: &str, range: Range<u64>) -> ChunkedArray<UInt64Type>
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.
impl<T, S> NamedFrom<S, [Option<T>]> for ChunkedArray<ObjectType<T>>where T: PolarsObject, S: AsRef<[Option<T>]>,
object
only.source§fn new(name: &str, v: S) -> ChunkedArray<ObjectType<T>>
fn new(name: &str, v: S) -> ChunkedArray<ObjectType<T>>
source§impl<'a, T> NamedFrom<T, [&'a [u8]]> for ChunkedArray<BinaryType>where
T: AsRef<[&'a [u8]]>,
Available on crate feature dtype-binary
only.
impl<'a, T> NamedFrom<T, [&'a [u8]]> for ChunkedArray<BinaryType>where T: AsRef<[&'a [u8]]>,
dtype-binary
only.source§fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
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.
impl<'a, T> NamedFrom<T, [Cow<'a, [u8]>]> for ChunkedArray<BinaryType>where T: AsRef<[Cow<'a, [u8]>]>,
dtype-binary
only.source§fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
source§impl<'a, T> NamedFrom<T, [Cow<'a, str>]> for ChunkedArray<Utf8Type>where
T: AsRef<[Cow<'a, str>]>,
impl<'a, T> NamedFrom<T, [Cow<'a, str>]> for ChunkedArray<Utf8Type>where T: AsRef<[Cow<'a, str>]>,
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.
impl<'a, T> NamedFrom<T, [Option<&'a [u8]>]> for ChunkedArray<BinaryType>where T: AsRef<[Option<&'a [u8]>]>,
dtype-binary
only.source§fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
source§impl<'a, T> NamedFrom<T, [Option<&'a str>]> for ChunkedArray<Utf8Type>where
T: AsRef<[Option<&'a str>]>,
impl<'a, T> NamedFrom<T, [Option<&'a str>]> for ChunkedArray<Utf8Type>where T: AsRef<[Option<&'a str>]>,
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.
impl<'a, T> NamedFrom<T, [Option<Cow<'a, [u8]>>]> for ChunkedArray<BinaryType>where T: AsRef<[Option<Cow<'a, [u8]>>]>,
dtype-binary
only.source§fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
source§impl<'a, T> NamedFrom<T, [Option<Cow<'a, str>>]> for ChunkedArray<Utf8Type>where
T: AsRef<[Option<Cow<'a, str>>]>,
impl<'a, T> NamedFrom<T, [Option<Cow<'a, str>>]> for ChunkedArray<Utf8Type>where T: AsRef<[Option<Cow<'a, str>>]>,
source§impl<T> NamedFrom<T, [Option<String>]> for ChunkedArray<Utf8Type>where
T: AsRef<[Option<String>]>,
impl<T> NamedFrom<T, [Option<String>]> for ChunkedArray<Utf8Type>where T: AsRef<[Option<String>]>,
source§impl<T> NamedFrom<T, [Option<Vec<u8, Global>>]> for ChunkedArray<BinaryType>where
T: AsRef<[Option<Vec<u8, Global>>]>,
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>
fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
source§impl<T> NamedFrom<T, [Option<bool>]> for ChunkedArray<BooleanType>where
T: AsRef<[Option<bool>]>,
impl<T> NamedFrom<T, [Option<bool>]> for ChunkedArray<BooleanType>where T: AsRef<[Option<bool>]>,
source§fn new(name: &str, v: T) -> ChunkedArray<BooleanType>
fn new(name: &str, v: T) -> ChunkedArray<BooleanType>
source§impl<T> NamedFrom<T, [Option<f32>]> for ChunkedArray<Float32Type>where
T: AsRef<[Option<f32>]>,
impl<T> NamedFrom<T, [Option<f32>]> for ChunkedArray<Float32Type>where T: AsRef<[Option<f32>]>,
source§fn new(name: &str, v: T) -> ChunkedArray<Float32Type>
fn new(name: &str, v: T) -> ChunkedArray<Float32Type>
source§impl<T> NamedFrom<T, [Option<f64>]> for ChunkedArray<Float64Type>where
T: AsRef<[Option<f64>]>,
impl<T> NamedFrom<T, [Option<f64>]> for ChunkedArray<Float64Type>where T: AsRef<[Option<f64>]>,
source§fn new(name: &str, v: T) -> ChunkedArray<Float64Type>
fn new(name: &str, v: T) -> ChunkedArray<Float64Type>
source§impl<T> NamedFrom<T, [Option<i16>]> for ChunkedArray<Int16Type>where
T: AsRef<[Option<i16>]>,
impl<T> NamedFrom<T, [Option<i16>]> for ChunkedArray<Int16Type>where T: AsRef<[Option<i16>]>,
source§impl<T> NamedFrom<T, [Option<i32>]> for ChunkedArray<Int32Type>where
T: AsRef<[Option<i32>]>,
impl<T> NamedFrom<T, [Option<i32>]> for ChunkedArray<Int32Type>where T: AsRef<[Option<i32>]>,
source§impl<T> NamedFrom<T, [Option<i64>]> for ChunkedArray<Int64Type>where
T: AsRef<[Option<i64>]>,
impl<T> NamedFrom<T, [Option<i64>]> for ChunkedArray<Int64Type>where T: AsRef<[Option<i64>]>,
source§impl<T> NamedFrom<T, [Option<u16>]> for ChunkedArray<UInt16Type>where
T: AsRef<[Option<u16>]>,
impl<T> NamedFrom<T, [Option<u16>]> for ChunkedArray<UInt16Type>where T: AsRef<[Option<u16>]>,
source§fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
source§impl<T> NamedFrom<T, [Option<u32>]> for ChunkedArray<UInt32Type>where
T: AsRef<[Option<u32>]>,
impl<T> NamedFrom<T, [Option<u32>]> for ChunkedArray<UInt32Type>where T: AsRef<[Option<u32>]>,
source§fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
source§impl<T> NamedFrom<T, [Option<u64>]> for ChunkedArray<UInt64Type>where
T: AsRef<[Option<u64>]>,
impl<T> NamedFrom<T, [Option<u64>]> for ChunkedArray<UInt64Type>where T: AsRef<[Option<u64>]>,
source§fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
source§impl<T> NamedFrom<T, [Vec<u8, Global>]> for ChunkedArray<BinaryType>where
T: AsRef<[Vec<u8, Global>]>,
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>
fn new(name: &str, v: T) -> ChunkedArray<BinaryType>
source§impl<T> NamedFrom<T, [bool]> for ChunkedArray<BooleanType>where
T: AsRef<[bool]>,
impl<T> NamedFrom<T, [bool]> for ChunkedArray<BooleanType>where T: AsRef<[bool]>,
source§fn new(name: &str, v: T) -> ChunkedArray<BooleanType>
fn new(name: &str, v: T) -> ChunkedArray<BooleanType>
source§impl<T> NamedFrom<T, [f32]> for ChunkedArray<Float32Type>where
T: AsRef<[f32]>,
impl<T> NamedFrom<T, [f32]> for ChunkedArray<Float32Type>where T: AsRef<[f32]>,
source§fn new(name: &str, v: T) -> ChunkedArray<Float32Type>
fn new(name: &str, v: T) -> ChunkedArray<Float32Type>
source§impl<T> NamedFrom<T, [f64]> for ChunkedArray<Float64Type>where
T: AsRef<[f64]>,
impl<T> NamedFrom<T, [f64]> for ChunkedArray<Float64Type>where T: AsRef<[f64]>,
source§fn new(name: &str, v: T) -> ChunkedArray<Float64Type>
fn new(name: &str, v: T) -> ChunkedArray<Float64Type>
source§impl<T> NamedFrom<T, [u16]> for ChunkedArray<UInt16Type>where
T: AsRef<[u16]>,
impl<T> NamedFrom<T, [u16]> for ChunkedArray<UInt16Type>where T: AsRef<[u16]>,
source§fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
source§impl<T> NamedFrom<T, [u32]> for ChunkedArray<UInt32Type>where
T: AsRef<[u32]>,
impl<T> NamedFrom<T, [u32]> for ChunkedArray<UInt32Type>where T: AsRef<[u32]>,
source§fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
source§impl<T> NamedFrom<T, [u64]> for ChunkedArray<UInt64Type>where
T: AsRef<[u64]>,
impl<T> NamedFrom<T, [u64]> for ChunkedArray<UInt64Type>where T: AsRef<[u64]>,
source§fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
source§impl<B> NewChunkedArray<BinaryType, B> for ChunkedArray<BinaryType>where
B: AsRef<[u8]>,
Available on crate feature dtype-binary
only.
impl<B> NewChunkedArray<BinaryType, B> for ChunkedArray<BinaryType>where B: AsRef<[u8]>,
dtype-binary
only.source§fn from_iter_values(
name: &str,
it: impl Iterator<Item = B>
) -> ChunkedArray<BinaryType>
fn from_iter_values( name: &str, it: impl Iterator<Item = B> ) -> ChunkedArray<BinaryType>
Create a new ChunkedArray from an iterator.
fn from_slice(name: &str, v: &[B]) -> ChunkedArray<BinaryType>
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>
fn from_iter_options( name: &str, it: impl Iterator<Item = Option<B>> ) -> ChunkedArray<BinaryType>
source§impl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>
impl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>
source§fn from_iter_values(
name: &str,
it: impl Iterator<Item = bool>
) -> ChunkedArray<BooleanType>
fn from_iter_values( name: &str, it: impl Iterator<Item = bool> ) -> ChunkedArray<BooleanType>
Create a new ChunkedArray from an iterator.
fn from_slice(name: &str, v: &[bool]) -> ChunkedArray<BooleanType>
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>
fn from_iter_options( name: &str, it: impl Iterator<Item = Option<bool>> ) -> ChunkedArray<BooleanType>
source§impl<T> NewChunkedArray<ObjectType<T>, T> for ChunkedArray<ObjectType<T>>where
T: PolarsObject,
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>>
fn from_iter_values( name: &str, it: impl Iterator<Item = T> ) -> ChunkedArray<ObjectType<T>>
Create a new ChunkedArray from an iterator.
fn from_slice(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>
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>>
fn from_iter_options( name: &str, it: impl Iterator<Item = Option<T>> ) -> ChunkedArray<ObjectType<T>>
source§impl<T> NewChunkedArray<T, <T as PolarsNumericType>::Native> for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn from_iter_values( name: &str, it: impl Iterator<Item = <T as PolarsNumericType>::Native> ) -> ChunkedArray<T>
Create a new ChunkedArray from an iterator.
fn from_slice( name: &str, v: &[<T as PolarsNumericType>::Native] ) -> ChunkedArray<T>
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>
fn from_iter_options( name: &str, it: impl Iterator<Item = Option<<T as PolarsNumericType>::Native>> ) -> ChunkedArray<T>
source§impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type>where
S: AsRef<str>,
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>
fn from_iter_values( name: &str, it: impl Iterator<Item = S> ) -> ChunkedArray<Utf8Type>
Create a new ChunkedArray from an iterator.
fn from_slice(name: &str, v: &[S]) -> ChunkedArray<Utf8Type>
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>
fn from_iter_options( name: &str, it: impl Iterator<Item = Option<S>> ) -> ChunkedArray<Utf8Type>
source§impl Not for &ChunkedArray<BooleanType>
impl Not for &ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
!
operator.source§fn not(self) -> <&ChunkedArray<BooleanType> as Not>::Output
fn not(self) -> <&ChunkedArray<BooleanType> as Not>::Output
!
operation. Read moresource§impl Not for ChunkedArray<BooleanType>
impl Not for ChunkedArray<BooleanType>
§type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
!
operator.source§fn not(self) -> <ChunkedArray<BooleanType> as Not>::Output
fn not(self) -> <ChunkedArray<BooleanType> as Not>::Output
!
operation. Read moresource§impl NumOpsDispatch for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl NumOpsDispatch for ChunkedArray<BinaryType>
dtype-binary
only.fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
source§impl<T> NumOpsDispatch for ChunkedArray<T>where
T: PolarsNumericType,
ChunkedArray<T>: IntoSeries,
impl<T> NumOpsDispatch for ChunkedArray<T>where T: PolarsNumericType, ChunkedArray<T>: IntoSeries,
fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
source§impl NumOpsDispatch for ChunkedArray<Utf8Type>
impl NumOpsDispatch for ChunkedArray<Utf8Type>
fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
source§impl NumOpsDispatchChecked for ChunkedArray<Float32Type>
impl NumOpsDispatchChecked for ChunkedArray<Float32Type>
source§fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError>where T: ToPrimitive,
source§impl NumOpsDispatchChecked for ChunkedArray<Float64Type>
impl NumOpsDispatchChecked for ChunkedArray<Float64Type>
source§fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
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,
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>
fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError>where T: ToPrimitive,
source§impl QuantileAggSeries for ChunkedArray<Float32Type>
impl QuantileAggSeries for ChunkedArray<Float32Type>
source§fn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Series, PolarsError>
source§fn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
source§impl QuantileAggSeries for ChunkedArray<Float64Type>
impl QuantileAggSeries for ChunkedArray<Float64Type>
source§fn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Series, PolarsError>
source§fn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
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>,
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>
fn quantile_as_series( &self, quantile: f64, interpol: QuantileInterpolOptions ) -> Result<Series, PolarsError>
source§fn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
source§impl<T> Rem<&ChunkedArray<T>> for &ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Rem<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
%
operator.source§fn rem(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as Rem<&ChunkedArray<T>>>::Output
fn rem( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Rem<&ChunkedArray<T>>>::Output
%
operation. Read moresource§impl<T> Rem<ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Rem<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
%
operator.source§fn rem(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Rem<ChunkedArray<T>>>::Output
fn rem( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Rem<ChunkedArray<T>>>::Output
%
operation. Read moresource§impl<T, N> Rem<N> for &ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Rem<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
%
operator.source§impl<T, N> Rem<N> for ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Rem<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
%
operator.source§impl RepeatBy for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl RepeatBy for ChunkedArray<BinaryType>
dtype-binary
only.source§fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
n
times, where n
is determined by the values in by
.source§impl RepeatBy for ChunkedArray<BooleanType>
impl RepeatBy for ChunkedArray<BooleanType>
source§fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
n
times, where n
is determined by the values in by
.source§impl<T> RepeatBy for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> RepeatBy for ChunkedArray<T>where T: PolarsNumericType,
source§fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
n
times, where n
is determined by the values in by
.source§impl RepeatBy for ChunkedArray<Utf8Type>
impl RepeatBy for ChunkedArray<Utf8Type>
source§fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
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,
impl<T> StrConcat for ChunkedArray<T>where T: PolarsNumericType, <T as PolarsNumericType>::Native: Display,
source§fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
source§impl StrConcat for ChunkedArray<Utf8Type>
impl StrConcat for ChunkedArray<Utf8Type>
source§fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
source§impl<T> Sub<&ChunkedArray<T>> for &ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Sub<&ChunkedArray<T>> for &ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
-
operator.source§fn sub(
self,
rhs: &ChunkedArray<T>
) -> <&ChunkedArray<T> as Sub<&ChunkedArray<T>>>::Output
fn sub( self, rhs: &ChunkedArray<T> ) -> <&ChunkedArray<T> as Sub<&ChunkedArray<T>>>::Output
-
operation. Read moresource§impl<T> Sub<ChunkedArray<T>> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T> Sub<ChunkedArray<T>> for ChunkedArray<T>where T: PolarsNumericType,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
-
operator.source§fn sub(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Sub<ChunkedArray<T>>>::Output
fn sub( self, rhs: ChunkedArray<T> ) -> <ChunkedArray<T> as Sub<ChunkedArray<T>>>::Output
-
operation. Read moresource§impl<T, N> Sub<N> for &ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Sub<N> for &ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
-
operator.source§impl<T, N> Sub<N> for ChunkedArray<T>where
T: PolarsNumericType,
N: Num + ToPrimitive,
impl<T, N> Sub<N> for ChunkedArray<T>where T: PolarsNumericType, N: Num + ToPrimitive,
§type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
-
operator.source§impl<'a> TakeRandom for &'a ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl<'a> TakeRandom for &'a ChunkedArray<BinaryType>
dtype-binary
only.type Item = &'a [u8]
source§fn get(
&self,
index: usize
) -> Option<<&'a ChunkedArray<BinaryType> as TakeRandom>::Item>
fn get( &self, index: usize ) -> Option<<&'a ChunkedArray<BinaryType> as TakeRandom>::Item>
source§impl<'a, T> TakeRandom for &'a ChunkedArray<ObjectType<T>>where
T: PolarsObject,
Available on crate feature object
only.
impl<'a, T> TakeRandom for &'a ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.type Item = &'a T
source§fn get(
&self,
index: usize
) -> Option<<&'a ChunkedArray<ObjectType<T>> as TakeRandom>::Item>
fn get( &self, index: usize ) -> Option<<&'a ChunkedArray<ObjectType<T>> as TakeRandom>::Item>
source§unsafe fn get_unchecked(
&self,
index: usize
) -> Option<<&'a ChunkedArray<ObjectType<T>> as TakeRandom>::Item>
unsafe fn get_unchecked( &self, index: usize ) -> Option<<&'a ChunkedArray<ObjectType<T>> as TakeRandom>::Item>
source§impl<'a, T> TakeRandom for &'a ChunkedArray<T>where
T: PolarsNumericType,
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>
fn get(&self, index: usize) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>
source§unsafe fn get_unchecked(
&self,
index: usize
) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>
unsafe fn get_unchecked( &self, index: usize ) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>
source§impl<'a> TakeRandom for &'a ChunkedArray<Utf8Type>
impl<'a> TakeRandom for &'a ChunkedArray<Utf8Type>
source§impl TakeRandom for ChunkedArray<BooleanType>
impl TakeRandom for ChunkedArray<BooleanType>
source§impl TakeRandom for ChunkedArray<ListType>
impl TakeRandom for ChunkedArray<ListType>
type Item = Series
source§fn get(
&self,
index: usize
) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
fn get( &self, index: usize ) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
source§unsafe fn get_unchecked(
&self,
index: usize
) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
unsafe fn get_unchecked( &self, index: usize ) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
source§impl<T> TakeRandom for ChunkedArray<T>where
T: PolarsNumericType,
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>
fn get(&self, index: usize) -> Option<<ChunkedArray<T> as TakeRandom>::Item>
source§unsafe fn get_unchecked(
&self,
index: usize
) -> Option<<ChunkedArray<T> as TakeRandom>::Item>
unsafe fn get_unchecked( &self, index: usize ) -> Option<<ChunkedArray<T> as TakeRandom>::Item>
source§impl<'a> TakeRandomUtf8 for &'a ChunkedArray<Utf8Type>
impl<'a> TakeRandomUtf8 for &'a ChunkedArray<Utf8Type>
type Item = &'a str
source§fn get(
self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
fn get( self, index: usize ) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
source§unsafe fn get_unchecked(
self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
unsafe fn get_unchecked( self, index: usize ) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
source§impl Utf8Methods for ChunkedArray<Utf8Type>
impl Utf8Methods for ChunkedArray<Utf8Type>
source§fn as_time(
&self,
fmt: Option<&str>,
cache: bool
) -> Result<Logical<TimeType, Int64Type>, PolarsError>
fn as_time( &self, fmt: Option<&str>, cache: bool ) -> Result<Logical<TimeType, Int64Type>, PolarsError>
dtype-time
only.TimeChunked
source§fn as_date_not_exact(
&self,
fmt: Option<&str>
) -> Result<Logical<DateType, Int32Type>, PolarsError>
fn as_date_not_exact( &self, fmt: Option<&str> ) -> Result<Logical<DateType, Int32Type>, PolarsError>
dtype-date
only.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>
fn as_datetime_not_exact( &self, fmt: Option<&str>, tu: TimeUnit, tz: Option<&String> ) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
dtype-datetime
only.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>
fn as_date( &self, fmt: Option<&str>, cache: bool ) -> Result<Logical<DateType, Int32Type>, PolarsError>
dtype-date
only.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>
fn as_datetime( &self, fmt: Option<&str>, tu: TimeUnit, cache: bool, tz_aware: bool, _utc: bool, tz: Option<&String> ) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
dtype-datetime
only.DatetimeChunked
source§impl Utf8NameSpaceImpl for ChunkedArray<Utf8Type>
impl Utf8NameSpaceImpl for ChunkedArray<Utf8Type>
source§fn hex_decode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn hex_decode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
binary_encoding
only.source§fn hex_encode(&self) -> ChunkedArray<Utf8Type>
fn hex_encode(&self) -> ChunkedArray<Utf8Type>
string_encoding
only.source§fn base64_decode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn base64_decode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
binary_encoding
only.source§fn base64_encode(&self) -> ChunkedArray<Utf8Type>
fn base64_encode(&self) -> ChunkedArray<Utf8Type>
string_encoding
only.source§fn parse_int(&self, radix: Option<u32>) -> ChunkedArray<Int32Type>
fn parse_int(&self, radix: Option<u32>) -> ChunkedArray<Int32Type>
string_from_radix
only.source§fn str_n_chars(&self) -> ChunkedArray<UInt32Type>
fn str_n_chars(&self) -> ChunkedArray<UInt32Type>
source§fn str_lengths(&self) -> ChunkedArray<UInt32Type>
fn str_lengths(&self) -> ChunkedArray<UInt32Type>
source§fn contains(&self, pat: &str) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn contains(&self, pat: &str) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn contains_literal(
&self,
lit: &str
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn contains_literal( &self, lit: &str ) -> Result<ChunkedArray<BooleanType>, PolarsError>
source§fn ends_with(&self, sub: &str) -> ChunkedArray<BooleanType>
fn ends_with(&self, sub: &str) -> ChunkedArray<BooleanType>
source§fn starts_with(&self, sub: &str) -> ChunkedArray<BooleanType>
fn starts_with(&self, sub: &str) -> ChunkedArray<BooleanType>
source§fn replace<'a>(
&'a self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn replace<'a>( &'a self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
source§fn replace_literal<'a>(
&'a self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn replace_literal<'a>( &'a self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
source§fn replace_all(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn replace_all( &self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
source§fn replace_literal_all(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn replace_literal_all( &self, pat: &str, val: &str ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
source§fn extract(
&self,
pat: &str,
group_index: usize
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn extract( &self, pat: &str, group_index: usize ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
source§fn extract_all(&self, pat: &str) -> Result<ChunkedArray<ListType>, PolarsError>
fn extract_all(&self, pat: &str) -> Result<ChunkedArray<ListType>, PolarsError>
source§fn extract_all_many(
&self,
pat: &ChunkedArray<Utf8Type>
) -> Result<ChunkedArray<ListType>, PolarsError>
fn extract_all_many( &self, pat: &ChunkedArray<Utf8Type> ) -> Result<ChunkedArray<ListType>, PolarsError>
source§fn count_match(&self, pat: &str) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn count_match(&self, pat: &str) -> Result<ChunkedArray<UInt32Type>, PolarsError>
source§fn to_lowercase(&self) -> ChunkedArray<Utf8Type>
fn to_lowercase(&self) -> ChunkedArray<Utf8Type>
source§fn to_uppercase(&self) -> ChunkedArray<Utf8Type>
fn to_uppercase(&self) -> ChunkedArray<Utf8Type>
source§fn concat(&self, other: &ChunkedArray<Utf8Type>) -> ChunkedArray<Utf8Type>
fn concat(&self, other: &ChunkedArray<Utf8Type>) -> ChunkedArray<Utf8Type>
source§fn str_slice(
&self,
start: i64,
length: Option<u64>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn str_slice( &self, start: i64, length: Option<u64> ) -> Result<ChunkedArray<Utf8Type>, PolarsError>
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.
impl ValueSize for ChunkedArray<BinaryType>
dtype-binary
only.source§fn get_values_size(&self) -> usize
fn get_values_size(&self) -> usize
source§impl ValueSize for ChunkedArray<ListType>
impl ValueSize for ChunkedArray<ListType>
source§fn get_values_size(&self) -> usize
fn get_values_size(&self) -> usize
source§impl ValueSize for ChunkedArray<Utf8Type>
impl ValueSize for ChunkedArray<Utf8Type>
source§fn get_values_size(&self) -> usize
fn get_values_size(&self) -> usize
source§impl VarAggSeries for ChunkedArray<Float32Type>
impl VarAggSeries for ChunkedArray<Float32Type>
source§fn var_as_series(&self, ddof: u8) -> Series
fn var_as_series(&self, ddof: u8) -> Series
source§fn std_as_series(&self, ddof: u8) -> Series
fn std_as_series(&self, ddof: u8) -> Series
source§impl VarAggSeries for ChunkedArray<Float64Type>
impl VarAggSeries for ChunkedArray<Float64Type>
source§fn var_as_series(&self, ddof: u8) -> Series
fn var_as_series(&self, ddof: u8) -> Series
source§fn std_as_series(&self, ddof: u8) -> Series
fn std_as_series(&self, ddof: u8) -> Series
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>,
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
fn var_as_series(&self, ddof: u8) -> Series
source§fn std_as_series(&self, ddof: u8) -> Series
fn std_as_series(&self, ddof: u8) -> Series
source§impl VecHash for ChunkedArray<BinaryType>
Available on crate feature dtype-binary
only.
impl VecHash for ChunkedArray<BinaryType>
dtype-binary
only.source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])
source§impl VecHash for ChunkedArray<BooleanType>
impl VecHash for ChunkedArray<BooleanType>
source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])
source§impl VecHash for ChunkedArray<Float32Type>
impl VecHash for ChunkedArray<Float32Type>
source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])
source§impl VecHash for ChunkedArray<Float64Type>
impl VecHash for ChunkedArray<Float64Type>
source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])
source§impl VecHash for ChunkedArray<Int16Type>
impl VecHash for ChunkedArray<Int16Type>
source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])
source§impl VecHash for ChunkedArray<Int32Type>
impl VecHash for ChunkedArray<Int32Type>
source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])
source§impl VecHash for ChunkedArray<Int64Type>
impl VecHash for ChunkedArray<Int64Type>
source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash_combine(&self, random_state: RandomState, hashes: &mut [u64])
source§impl VecHash for ChunkedArray<Int8Type>
impl VecHash for ChunkedArray<Int8Type>
source§fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64, Global>)
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.
impl<T> VecHash for ChunkedArray<ObjectType<T>>where T: PolarsObject,
object
only.