Struct polars::prelude::ChunkedArray
source · [−]pub struct ChunkedArray<T> { /* 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) -> Result<&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 rechunk after multiple append operations.
See also ChunkedArray::extend
for appends within a chunk.
Implementations
sourceimpl<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.
sourceimpl<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
sourceimpl<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
extent
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
.
sourceimpl<T> ChunkedArray<T> where
T: PolarsNumericType,
<T as PolarsNumericType>::Native: Float,
ChunkedArray<T>: IntoSeries,
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
<T as PolarsNumericType>::Native: Float,
ChunkedArray<T>: IntoSeries,
sourcepub fn rolling_mean(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_mean(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling mean (moving mean) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their mean.
sourceimpl<T> ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
sourcepub fn rolling_sum(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_sum(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling sum (moving sum) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their sum.
sourcepub fn rolling_median(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_median(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling median (moving median) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be weighted according to the weights
vector.
sourcepub fn rolling_quantile(
&self,
quantile: f64,
interpolation: QuantileInterpolOptions,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_quantile(
&self,
quantile: f64,
interpolation: QuantileInterpolOptions,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling quantile (moving quantile) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be weighted according to the weights
vector.
sourcepub fn rolling_min(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_min(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling min (moving min) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their min.
sourcepub fn rolling_max(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_max(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling max (moving max) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their max.
sourceimpl<T> ChunkedArray<T> where
T: PolarsFloatType,
ChunkedArray<T>: IntoSeries,
<T as PolarsNumericType>::Native: Float,
impl<T> ChunkedArray<T> where
T: PolarsFloatType,
ChunkedArray<T>: IntoSeries,
<T as PolarsNumericType>::Native: Float,
sourcepub fn rolling_apply_float<F>(
&self,
window_size: usize,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(&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: Fn(&ChunkedArray<T>) -> Option<<T as PolarsNumericType>::Native>,
Apply a rolling custom function. This is pretty slow because of dynamic dispatch.
sourcepub fn rolling_var(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_var(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling var (moving var) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their var.
sourcepub fn rolling_std(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
pub fn rolling_std(
&self,
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling std (moving std) over the values in this array.
A window of length window_size
will traverse the array. The values that fill this window
will (optionally) be multiplied with the weights given by the weights
vector. The resulting
values will be aggregated to their std.
sourceimpl ChunkedArray<BooleanType>
impl ChunkedArray<BooleanType>
pub fn arg_true(&self) -> ChunkedArray<UInt32Type>
sourceimpl<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.
sourceimpl<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>
This is supported on crate feature ndarray
only.
pub fn to_ndarray(
&self
) -> Result<ArrayBase<ViewRepr<&<T as PolarsNumericType>::Native>, Dim<[usize; 1]>>, PolarsError>
ndarray
only.If data is aligned in a single chunk and has no Null values a zero copy view is returned
as an ndarray
sourceimpl 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,
This is supported on crate feature ndarray
only.
pub fn to_ndarray<N>(
&self
) -> Result<ArrayBase<OwnedRepr<<N as PolarsNumericType>::Native>, Dim<[usize; 2]>>, PolarsError> where
N: PolarsNumericType,
ndarray
only.If all nested Series
have the same length, a 2 dimensional ndarray::Array
is returned.
sourceimpl ChunkedArray<ListType>
impl ChunkedArray<ListType>
sourcepub fn amortized_iter(
&self
) -> AmortizedListIter<'_, impl Iterator<Item = Option<Box<dyn Array + 'static, Global>>>>
pub fn amortized_iter(
&self
) -> AmortizedListIter<'_, impl Iterator<Item = Option<Box<dyn Array + 'static, Global>>>>
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,
pub fn apply_amortized<'a, F>(&'a self, f: F) -> ChunkedArray<ListType> where
F: FnMut(UnstableSeries<'a>) -> Series,
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>,
sourceimpl ChunkedArray<ListType>
impl ChunkedArray<ListType>
sourcepub fn lst_join(
&self,
separator: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn lst_join(
&self,
separator: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
In case the inner dtype DataType::Utf8
, the individual items will be joined into a
single string separated by separator
.
pub fn lst_max(&self) -> Series
pub fn lst_min(&self) -> Series
pub fn lst_sum(&self) -> Series
pub fn lst_mean(&self) -> ChunkedArray<Float64Type>
pub fn lst_sort(&self, reverse: bool) -> ChunkedArray<ListType>
pub fn lst_reverse(&self) -> ChunkedArray<ListType>
pub fn lst_unique(&self) -> Result<ChunkedArray<ListType>, PolarsError>
pub fn lst_arg_min(&self) -> ChunkedArray<UInt32Type>
pub fn lst_arg_max(&self) -> ChunkedArray<UInt32Type>
pub fn lst_diff(
&self,
n: usize,
null_behavior: NullBehavior
) -> ChunkedArray<ListType>
diff
only.pub fn lst_shift(&self, periods: i64) -> ChunkedArray<ListType>
pub fn lst_slice(&self, offset: i64, length: usize) -> ChunkedArray<ListType>
pub fn lst_lengths(&self) -> ChunkedArray<UInt32Type>
sourcepub fn lst_get(&self, idx: i64) -> Result<Series, PolarsError>
pub fn lst_get(&self, idx: i64) -> Result<Series, PolarsError>
Get the value by index in the sublists.
So index 0
would return the first item of every sublist
and index -1
would return the last item of every sublist
if an index is out of bounds, it will return a None
.
pub fn lst_concat(
&self,
other: &[Series]
) -> Result<ChunkedArray<ListType>, PolarsError>
sourceimpl ChunkedArray<ListType>
impl ChunkedArray<ListType>
pub fn set_fast_explode(&mut self)
pub fn to_logical(&mut self, inner_dtype: DataType)
sourceimpl ChunkedArray<Int64Type>
impl ChunkedArray<Int64Type>
pub fn into_datetime(
self,
timeunit: TimeUnit,
tz: Option<String>
) -> Logical<DatetimeType, Int64Type>
sourceimpl ChunkedArray<Int64Type>
impl ChunkedArray<Int64Type>
pub fn into_duration(
self,
timeunit: TimeUnit
) -> Logical<DurationType, Int64Type>
sourceimpl<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>>
sourceimpl<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.
sourceimpl<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>,
sourceimpl<T> ChunkedArray<T> where
ChunkedArray<T>: ChunkTake,
impl<T> ChunkedArray<T> where
ChunkedArray<T>: ChunkTake,
sourcepub fn sample_n(
&self,
n: usize,
with_replacement: bool,
seed: u64
) -> Result<ChunkedArray<T>, PolarsError>
pub fn sample_n(
&self,
n: usize,
with_replacement: bool,
seed: u64
) -> Result<ChunkedArray<T>, PolarsError>
Sample n datapoints from this ChunkedArray.
sourcepub fn sample_frac(
&self,
frac: f64,
with_replacement: bool,
seed: u64
) -> Result<ChunkedArray<T>, PolarsError>
pub fn sample_frac(
&self,
frac: f64,
with_replacement: bool,
seed: u64
) -> Result<ChunkedArray<T>, PolarsError>
Sample a fraction between 0.0-1.0 of this ChunkedArray.
sourceimpl<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.
sourceimpl 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.
sourceimpl ChunkedArray<Utf8Type>
impl ChunkedArray<Utf8Type>
sourcepub fn json_path_match(
&self,
json_path: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn json_path_match(
&self,
json_path: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Extract json path, first match Refer to https://goessner.net/articles/JsonPath/
sourceimpl ChunkedArray<Utf8Type>
impl ChunkedArray<Utf8Type>
pub fn hex_decode(
&self,
strict: Option<bool>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn hex_encode(&self) -> ChunkedArray<Utf8Type>
pub fn base64_decode(
&self,
strict: Option<bool>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn base64_encode(&self) -> ChunkedArray<Utf8Type>
sourceimpl ChunkedArray<Utf8Type>
impl ChunkedArray<Utf8Type>
sourcepub fn str_lengths(&self) -> ChunkedArray<UInt32Type>
pub fn str_lengths(&self) -> ChunkedArray<UInt32Type>
Get the length of the string values.
sourcepub fn contains(
&self,
pat: &str
) -> Result<ChunkedArray<BooleanType>, PolarsError>
pub fn contains(
&self,
pat: &str
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Check if strings contain a regex pattern
sourcepub fn replace(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn replace(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Replace the leftmost (sub)string by a regex pattern
sourcepub fn replace_all(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn replace_all(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Replace all (sub)strings by a regex pattern
sourcepub fn extract(
&self,
pat: &str,
group_index: usize
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn extract(
&self,
pat: &str,
group_index: usize
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Extract the nth capture group from pattern
sourcepub fn to_lowercase(&self) -> ChunkedArray<Utf8Type>
pub fn to_lowercase(&self) -> ChunkedArray<Utf8Type>
Modify the strings to their lowercase equivalent
sourcepub fn to_uppercase(&self) -> ChunkedArray<Utf8Type>
pub fn to_uppercase(&self) -> ChunkedArray<Utf8Type>
Modify the strings to their uppercase equivalent
sourcepub fn concat(&self, other: &ChunkedArray<Utf8Type>) -> ChunkedArray<Utf8Type>
pub fn concat(&self, other: &ChunkedArray<Utf8Type>) -> ChunkedArray<Utf8Type>
Concat with the values from a second Utf8Chunked
sourcepub fn str_slice(
&self,
start: i64,
length: Option<u64>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn str_slice(
&self,
start: i64,
length: Option<u64>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Slice the string values
Determines a substring starting from start
and with optional length length
of each of the elements in array
.
start
can be negative, in which case the start counts from the end of the string.
sourceimpl<T> ChunkedArray<T>
impl<T> ChunkedArray<T>
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 iter_validities(&self) -> impl Iterator<Item = Option<&Bitmap>>
pub fn iter_validities(&self) -> impl Iterator<Item = 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 it’s 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<'_, Arc<dyn Array + 'static>>, fn(&Arc<dyn Array + 'static>) -> usize>
pub fn chunk_id(
&self
) -> Map<Iter<'_, Arc<dyn Array + 'static>>, fn(&Arc<dyn Array + 'static>) -> usize>
Unique id representing the number of chunks
sourcepub fn chunks(&self) -> &Vec<Arc<dyn Array + 'static>, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
pub fn chunks(&self) -> &Vec<Arc<dyn Array + 'static>, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
A reference to 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 append_array(
&mut self,
other: Arc<dyn Array + 'static>
) -> Result<(), PolarsError>
pub fn append_array(
&mut self,
other: Arc<dyn Array + 'static>
) -> Result<(), PolarsError>
Append arrow array in place.
let mut array = Int32Chunked::new("array", &[1, 2]);
let array_2 = Int32Chunked::new("2nd", &[3]);
array.append(&array_2);
assert_eq!(Vec::from(&array), [Some(1), Some(2), Some(3)])
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.
sourceimpl<T> ChunkedArray<T> where
T: PolarsDataType,
impl<T> ChunkedArray<T> where
T: PolarsDataType,
sourcepub fn from_chunks(
name: &str,
chunks: Vec<Arc<dyn Array + 'static>, Global>
) -> ChunkedArray<T>
pub fn from_chunks(
name: &str,
chunks: Vec<Arc<dyn Array + 'static>, Global>
) -> ChunkedArray<T>
Create a new ChunkedArray from existing chunks.
sourceimpl<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
sourceimpl<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
sourceimpl 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.
sourceimpl<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.
sourceimpl<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
sourceimpl<'_, 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>
The resulting type after applying the +
operator.
sourcefn 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
Performs the +
operation. Read more
sourceimpl<'_> Add<&'_ ChunkedArray<Utf8Type>> for &'_ ChunkedArray<Utf8Type>
impl<'_> Add<&'_ ChunkedArray<Utf8Type>> for &'_ ChunkedArray<Utf8Type>
type Output = ChunkedArray<Utf8Type>
type Output = ChunkedArray<Utf8Type>
The resulting type after applying the +
operator.
sourcefn 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
Performs the +
operation. Read more
sourceimpl<'_, '_> Add<&'_ str> for &'_ ChunkedArray<Utf8Type>
impl<'_, '_> Add<&'_ str> for &'_ ChunkedArray<Utf8Type>
sourceimpl<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>
The resulting type after applying the +
operator.
sourcefn 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
Performs the +
operation. Read more
sourceimpl Add<ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
impl Add<ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
type Output = ChunkedArray<Utf8Type>
type Output = ChunkedArray<Utf8Type>
The resulting type after applying the +
operator.
sourcefn 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
Performs the +
operation. Read more
sourceimpl<'_, 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>
The resulting type after applying the +
operator.
sourceimpl<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>
The resulting type after applying the +
operator.
sourceimpl AggList for ChunkedArray<BooleanType>
impl AggList for ChunkedArray<BooleanType>
fn agg_list(&self, groups: &GroupsProxy) -> Option<Series>
sourceimpl AggList for ChunkedArray<Utf8Type>
impl AggList for ChunkedArray<Utf8Type>
fn agg_list(&self, groups: &GroupsProxy) -> Option<Series>
sourceimpl<T> AggList for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: IntoSeries,
impl<T> AggList for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: IntoSeries,
fn agg_list(&self, groups: &GroupsProxy) -> Option<Series>
sourceimpl<T> AggList for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> AggList for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
fn agg_list(&self, groups: &GroupsProxy) -> Option<Series>
sourceimpl AggList for ChunkedArray<ListType>
impl AggList for ChunkedArray<ListType>
fn agg_list(&self, groups: &GroupsProxy) -> Option<Series>
sourceimpl<T> ArgAgg for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ArgAgg for ChunkedArray<T> where
T: PolarsNumericType,
sourceimpl ArgAgg for ChunkedArray<BooleanType>
impl ArgAgg for ChunkedArray<BooleanType>
sourceimpl ArgAgg for ChunkedArray<ListType>
impl ArgAgg for ChunkedArray<ListType>
sourceimpl<T> ArgAgg for ChunkedArray<ObjectType<T>>
impl<T> ArgAgg for ChunkedArray<ObjectType<T>>
sourceimpl ArgAgg for ChunkedArray<Utf8Type>
impl ArgAgg for ChunkedArray<Utf8Type>
sourceimpl<'a, T> AsMut<ChunkedArray<T>> for dyn SeriesTrait + 'a where
T: 'static + PolarsDataType,
impl<'a, T> AsMut<ChunkedArray<T>> for dyn SeriesTrait + 'a where
T: 'static + PolarsDataType,
sourcefn as_mut(&mut self) -> &mut ChunkedArray<T>
fn as_mut(&mut self) -> &mut ChunkedArray<T>
Performs the conversion.
sourceimpl<'a, T> AsRef<ChunkedArray<T>> for dyn SeriesTrait + 'a where
T: 'static + PolarsDataType,
impl<'a, T> AsRef<ChunkedArray<T>> for dyn SeriesTrait + 'a where
T: 'static + PolarsDataType,
sourcefn as_ref(&self) -> &ChunkedArray<T>
fn as_ref(&self) -> &ChunkedArray<T>
Performs the conversion.
sourceimpl<T> AsRef<ChunkedArray<T>> for ChunkedArray<T>
impl<T> AsRef<ChunkedArray<T>> for ChunkedArray<T>
sourcefn as_ref(&self) -> &ChunkedArray<T>
fn as_ref(&self) -> &ChunkedArray<T>
Performs the conversion.
sourceimpl<'_> BitAnd<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
impl<'_> BitAnd<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the &
operator.
sourcefn 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
Performs the &
operation. Read more
sourceimpl<'_> BitAnd<&'_ ChunkedArray<Float32Type>> for &'_ ChunkedArray<Float32Type>
impl<'_> BitAnd<&'_ ChunkedArray<Float32Type>> for &'_ ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
The resulting type after applying the &
operator.
sourcefn bitand(
self,
_rhs: &'_ ChunkedArray<Float32Type>
) -> <&'_ ChunkedArray<Float32Type> as BitAnd<&'_ ChunkedArray<Float32Type>>>::Output
fn bitand(
self,
_rhs: &'_ ChunkedArray<Float32Type>
) -> <&'_ ChunkedArray<Float32Type> as BitAnd<&'_ ChunkedArray<Float32Type>>>::Output
Performs the &
operation. Read more
sourceimpl<'_> BitAnd<&'_ ChunkedArray<Float64Type>> for &'_ ChunkedArray<Float64Type>
impl<'_> BitAnd<&'_ ChunkedArray<Float64Type>> for &'_ ChunkedArray<Float64Type>
type Output = ChunkedArray<Float64Type>
type Output = ChunkedArray<Float64Type>
The resulting type after applying the &
operator.
sourcefn bitand(
self,
_rhs: &'_ ChunkedArray<Float64Type>
) -> <&'_ ChunkedArray<Float64Type> as BitAnd<&'_ ChunkedArray<Float64Type>>>::Output
fn bitand(
self,
_rhs: &'_ ChunkedArray<Float64Type>
) -> <&'_ ChunkedArray<Float64Type> as BitAnd<&'_ ChunkedArray<Float64Type>>>::Output
Performs the &
operation. Read more
sourceimpl<'_, T> BitAnd<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: BitAnd<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as 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>,
<<T as PolarsNumericType>::Native as BitAnd<<T as PolarsNumericType>::Native>>::Output == <T as PolarsNumericType>::Native,
type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
The resulting type after applying the &
operator.
sourcefn 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
Performs the &
operation. Read more
sourceimpl BitAnd<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl BitAnd<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the &
operator.
sourcefn 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
Performs the &
operation. Read more
sourceimpl<'_> BitOr<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
impl<'_> BitOr<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the |
operator.
sourcefn 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
Performs the |
operation. Read more
sourceimpl<'_> BitOr<&'_ ChunkedArray<Float32Type>> for &'_ ChunkedArray<Float32Type>
impl<'_> BitOr<&'_ ChunkedArray<Float32Type>> for &'_ ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
The resulting type after applying the |
operator.
sourcefn bitor(
self,
_rhs: &'_ ChunkedArray<Float32Type>
) -> <&'_ ChunkedArray<Float32Type> as BitOr<&'_ ChunkedArray<Float32Type>>>::Output
fn bitor(
self,
_rhs: &'_ ChunkedArray<Float32Type>
) -> <&'_ ChunkedArray<Float32Type> as BitOr<&'_ ChunkedArray<Float32Type>>>::Output
Performs the |
operation. Read more
sourceimpl<'_> BitOr<&'_ ChunkedArray<Float64Type>> for &'_ ChunkedArray<Float64Type>
impl<'_> BitOr<&'_ ChunkedArray<Float64Type>> for &'_ ChunkedArray<Float64Type>
type Output = ChunkedArray<Float64Type>
type Output = ChunkedArray<Float64Type>
The resulting type after applying the |
operator.
sourcefn bitor(
self,
_rhs: &'_ ChunkedArray<Float64Type>
) -> <&'_ ChunkedArray<Float64Type> as BitOr<&'_ ChunkedArray<Float64Type>>>::Output
fn bitor(
self,
_rhs: &'_ ChunkedArray<Float64Type>
) -> <&'_ ChunkedArray<Float64Type> as BitOr<&'_ ChunkedArray<Float64Type>>>::Output
Performs the |
operation. Read more
sourceimpl<'_, T> BitOr<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: BitOr<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as 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>,
<<T as PolarsNumericType>::Native as BitOr<<T as PolarsNumericType>::Native>>::Output == <T as PolarsNumericType>::Native,
type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
The resulting type after applying the |
operator.
sourcefn 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
Performs the |
operation. Read more
sourceimpl BitOr<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl BitOr<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the |
operator.
sourcefn 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
Performs the |
operation. Read more
sourceimpl<'_> BitXor<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
impl<'_> BitXor<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the ^
operator.
sourcefn 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
Performs the ^
operation. Read more
sourceimpl<'_> BitXor<&'_ ChunkedArray<Float32Type>> for &'_ ChunkedArray<Float32Type>
impl<'_> BitXor<&'_ ChunkedArray<Float32Type>> for &'_ ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
type Output = ChunkedArray<Float32Type>
The resulting type after applying the ^
operator.
sourcefn bitxor(
self,
_rhs: &'_ ChunkedArray<Float32Type>
) -> <&'_ ChunkedArray<Float32Type> as BitXor<&'_ ChunkedArray<Float32Type>>>::Output
fn bitxor(
self,
_rhs: &'_ ChunkedArray<Float32Type>
) -> <&'_ ChunkedArray<Float32Type> as BitXor<&'_ ChunkedArray<Float32Type>>>::Output
Performs the ^
operation. Read more
sourceimpl<'_> BitXor<&'_ ChunkedArray<Float64Type>> for &'_ ChunkedArray<Float64Type>
impl<'_> BitXor<&'_ ChunkedArray<Float64Type>> for &'_ ChunkedArray<Float64Type>
type Output = ChunkedArray<Float64Type>
type Output = ChunkedArray<Float64Type>
The resulting type after applying the ^
operator.
sourcefn bitxor(
self,
_rhs: &'_ ChunkedArray<Float64Type>
) -> <&'_ ChunkedArray<Float64Type> as BitXor<&'_ ChunkedArray<Float64Type>>>::Output
fn bitxor(
self,
_rhs: &'_ ChunkedArray<Float64Type>
) -> <&'_ ChunkedArray<Float64Type> as BitXor<&'_ ChunkedArray<Float64Type>>>::Output
Performs the ^
operation. Read more
sourceimpl<'_, T> BitXor<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: BitXor<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as 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>,
<<T as PolarsNumericType>::Native as BitXor<<T as PolarsNumericType>::Native>>::Output == <T as PolarsNumericType>::Native,
type Output = ChunkedArray<T>
type Output = ChunkedArray<T>
The resulting type after applying the ^
operator.
sourcefn 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
Performs the ^
operation. Read more
sourceimpl BitXor<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl BitXor<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the ^
operator.
sourcefn 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
Performs the ^
operation. Read more
sourceimpl<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>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
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>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
sourcefn sum(&self) -> Option<<T as PolarsNumericType>::Native>
fn sum(&self) -> Option<<T as PolarsNumericType>::Native>
Aggregate the sum of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
fn min(&self) -> Option<<T as PolarsNumericType>::Native>
sourceimpl ChunkAgg<u32> for ChunkedArray<BooleanType>
impl ChunkAgg<u32> for ChunkedArray<BooleanType>
Booleans are casted to 1 or 0.
sourceimpl ChunkAggSeries for ChunkedArray<ListType>
impl ChunkAggSeries for ChunkedArray<ListType>
sourcefn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
Get the sum of the ChunkedArray as a new Series of length 1.
sourcefn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
Get the max of the ChunkedArray as a new Series of length 1.
sourcefn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
Get the min of the ChunkedArray as a new Series of length 1.
sourcefn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
Get the product of the ChunkedArray as a new Series of length 1.
sourceimpl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>
impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>
sourcefn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
Get the sum of the ChunkedArray as a new Series of length 1.
sourcefn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
Get the max of the ChunkedArray as a new Series of length 1.
sourcefn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
Get the min of the ChunkedArray as a new Series of length 1.
sourcefn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
Get the product of the ChunkedArray as a new Series of length 1.
sourceimpl ChunkAggSeries for ChunkedArray<BooleanType>
impl ChunkAggSeries for ChunkedArray<BooleanType>
sourcefn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
Get the sum of the ChunkedArray as a new Series of length 1.
sourcefn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
Get the max of the ChunkedArray as a new Series of length 1.
sourcefn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
Get the min of the ChunkedArray as a new Series of length 1.
sourcefn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
Get the product of the ChunkedArray as a new Series of length 1.
sourceimpl<T> ChunkAggSeries for ChunkedArray<T> where
T: PolarsNumericType,
<<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
ChunkedArray<T>: IntoSeries,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
impl<T> ChunkAggSeries for ChunkedArray<T> where
T: PolarsNumericType,
<<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
ChunkedArray<T>: IntoSeries,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
sourcefn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
Get the sum of the ChunkedArray as a new Series of length 1.
sourcefn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
Get the max of the ChunkedArray as a new Series of length 1.
sourcefn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
Get the min of the ChunkedArray as a new Series of length 1.
sourcefn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
Get the product of the ChunkedArray as a new Series of length 1.
sourceimpl ChunkAggSeries for ChunkedArray<Utf8Type>
impl ChunkAggSeries for ChunkedArray<Utf8Type>
sourcefn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
Get the sum of the ChunkedArray as a new Series of length 1.
sourcefn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
Get the max of the ChunkedArray as a new Series of length 1.
sourcefn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
Get the min of the ChunkedArray as a new Series of length 1.
sourcefn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
Get the product of the ChunkedArray as a new Series of length 1.
sourceimpl<T> ChunkAnyValue for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkAnyValue for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourceunsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
sourcefn get_any_value(&self, index: usize) -> AnyValue<'_>
fn get_any_value(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
sourceimpl ChunkAnyValue for ChunkedArray<Utf8Type>
impl ChunkAnyValue for ChunkedArray<Utf8Type>
sourceunsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
sourcefn get_any_value(&self, index: usize) -> AnyValue<'_>
fn get_any_value(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
sourceimpl ChunkAnyValue for ChunkedArray<BooleanType>
impl ChunkAnyValue for ChunkedArray<BooleanType>
sourceunsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
sourcefn get_any_value(&self, index: usize) -> AnyValue<'_>
fn get_any_value(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
sourceimpl ChunkAnyValue for ChunkedArray<ListType>
impl ChunkAnyValue for ChunkedArray<ListType>
sourceunsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
sourcefn get_any_value(&self, index: usize) -> AnyValue<'_>
fn get_any_value(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
sourceimpl<T> ChunkAnyValue for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkAnyValue for ChunkedArray<T> where
T: PolarsNumericType,
sourceunsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
sourcefn get_any_value(&self, index: usize) -> AnyValue<'_>
fn get_any_value(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
sourceimpl<'a, T> ChunkApply<'a, &'a T, T> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<'a, T> ChunkApply<'a, &'a T, T> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn 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,
Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
sourcefn 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,
Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
sourcefn 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,
Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
fn try_apply<F>(
&'a self,
_f: F
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError> where
F: Fn(&'a T) -> Result<T, PolarsError> + Copy,
sourcefn 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,
Apply a closure elementwise including null values.
sourcefn 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,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourcefn 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,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourceimpl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for ChunkedArray<Utf8Type>
impl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for ChunkedArray<Utf8Type>
sourcefn 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,
Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
sourcefn 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,
Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
sourcefn 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,
Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
fn try_apply<F>(&'a self, f: F) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(&'a str) -> Result<Cow<'a, str>, PolarsError> + Copy,
sourcefn 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,
Apply a closure elementwise including null values.
sourcefn 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,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourceimpl<'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,
sourcefn 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,
Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
sourcefn 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,
Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
sourcefn 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,
Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
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,
sourcefn 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,
Apply a closure elementwise including null values.
sourcefn 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,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourcefn 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,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourcefn 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,
Apply a closure elementwise and write results to a mutable slice.
sourceimpl<'a> ChunkApply<'a, Series, Series> for ChunkedArray<ListType>
impl<'a> ChunkApply<'a, Series, Series> for ChunkedArray<ListType>
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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,
Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
sourcefn 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,
Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
fn try_apply<F>(&'a self, f: F) -> Result<ChunkedArray<ListType>, PolarsError> where
F: Fn(Series) -> Result<Series, PolarsError> + Copy,
sourcefn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<ListType> where
F: Fn(Option<Series>) -> Option<Series> + Copy,
fn apply_on_opt<F>(&'a self, f: F) -> ChunkedArray<ListType> where
F: Fn(Option<Series>) -> Option<Series> + Copy,
Apply a closure elementwise including null values.
sourceimpl<'a> ChunkApply<'a, bool, bool> for ChunkedArray<BooleanType>
impl<'a> ChunkApply<'a, bool, bool> for ChunkedArray<BooleanType>
sourcefn 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,
Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive than the closure application. Read more
sourcefn 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,
Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
sourcefn 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,
Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
fn try_apply<F>(&self, f: F) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(bool) -> Result<bool, PolarsError> + Copy,
sourcefn 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,
Apply a closure elementwise including null values.
sourcefn 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,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourcefn 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,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourceimpl ChunkApplyKernel<BooleanArray> for ChunkedArray<BooleanType>
impl ChunkApplyKernel<BooleanArray> for ChunkedArray<BooleanType>
sourcefn apply_kernel(&self, f: &dyn Fn(&BooleanArray)) -> ChunkedArray<BooleanType>
fn apply_kernel(&self, f: &dyn Fn(&BooleanArray)) -> ChunkedArray<BooleanType>
Apply kernel and return result as a new ChunkedArray.
sourcefn apply_kernel_cast<S>(&self, f: &dyn Fn(&BooleanArray)) -> ChunkedArray<S> where
S: PolarsDataType,
fn apply_kernel_cast<S>(&self, f: &dyn Fn(&BooleanArray)) -> ChunkedArray<S> where
S: PolarsDataType,
Apply a kernel that outputs an array of different type.
sourceimpl<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,
sourcefn apply_kernel(
&self,
f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>)
) -> ChunkedArray<T>
fn apply_kernel(
&self,
f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>)
) -> ChunkedArray<T>
Apply kernel and return result as a new ChunkedArray.
sourcefn apply_kernel_cast<S>(
&self,
f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>)
) -> ChunkedArray<S> where
S: PolarsDataType,
fn apply_kernel_cast<S>(
&self,
f: &dyn Fn(&PrimitiveArray<<T as PolarsNumericType>::Native>)
) -> ChunkedArray<S> where
S: PolarsDataType,
Apply a kernel that outputs an array of different type.
sourceimpl ChunkApplyKernel<Utf8Array<i64>> for ChunkedArray<Utf8Type>
impl ChunkApplyKernel<Utf8Array<i64>> for ChunkedArray<Utf8Type>
sourcefn apply_kernel(&self, f: &dyn Fn(&Utf8Array<i64>)) -> ChunkedArray<Utf8Type>
fn apply_kernel(&self, f: &dyn Fn(&Utf8Array<i64>)) -> ChunkedArray<Utf8Type>
Apply kernel and return result as a new ChunkedArray.
sourcefn apply_kernel_cast<S>(&self, f: &dyn Fn(&Utf8Array<i64>)) -> ChunkedArray<S> where
S: PolarsDataType,
fn apply_kernel_cast<S>(&self, f: &dyn Fn(&Utf8Array<i64>)) -> ChunkedArray<S> where
S: PolarsDataType,
Apply a kernel that outputs an array of different type.
sourceimpl ChunkCast for ChunkedArray<Utf8Type>
impl ChunkCast for ChunkedArray<Utf8Type>
sourceimpl 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
sourceimpl ChunkCast for ChunkedArray<BooleanType>
impl ChunkCast for ChunkedArray<BooleanType>
sourceimpl<T> ChunkCast for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkCast for ChunkedArray<T> where
T: PolarsNumericType,
sourceimpl<'_> ChunkCompare<&'_ ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
impl<'_> ChunkCompare<&'_ ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
sourcefn eq_missing(
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
fn eq_missing(
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
Check for equality.
sourcefn not_equal(
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
fn not_equal(
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
Check for inequality.
sourcefn gt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
Greater than comparison.
sourcefn gt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
Greater than or equal comparison.
sourcefn lt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
Less than comparison.
sourcefn lt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
Less than or equal comparison
sourceimpl<'_> ChunkCompare<&'_ ChunkedArray<ListType>> for ChunkedArray<ListType>
impl<'_> ChunkCompare<&'_ ChunkedArray<ListType>> for ChunkedArray<ListType>
sourcefn eq_missing(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn eq_missing(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
Check for equality.
sourcefn not_equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
Check for inequality.
sourcefn gt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn gt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
Greater than comparison.
sourcefn gt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
Greater than or equal comparison.
sourcefn lt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn lt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
Less than comparison.
sourcefn lt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
Less than or equal comparison
sourceimpl<'_, T> ChunkCompare<&'_ ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
impl<'_, T> ChunkCompare<&'_ ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn eq_missing(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn eq_missing(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
Check for equality.
sourcefn not_equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
Check for inequality.
sourcefn gt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
Greater than comparison.
sourcefn gt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
Greater than or equal comparison.
sourcefn lt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
Less than comparison.
sourcefn lt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
Less than or equal comparison
sourceimpl<'_> ChunkCompare<&'_ ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
impl<'_> ChunkCompare<&'_ ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
sourcefn eq_missing(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn eq_missing(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
Check for equality.
sourcefn not_equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
Check for inequality.
sourcefn gt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
Greater than comparison.
sourcefn gt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
Greater than or equal comparison.
sourcefn lt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
Less than comparison.
sourcefn lt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
Less than or equal comparison
sourceimpl<'_> ChunkCompare<&'_ str> for ChunkedArray<Utf8Type>
impl<'_> ChunkCompare<&'_ str> for ChunkedArray<Utf8Type>
sourcefn eq_missing(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn eq_missing(&self, rhs: &str) -> ChunkedArray<BooleanType>
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
Check for equality.
sourcefn not_equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: &str) -> ChunkedArray<BooleanType>
Check for inequality.
sourcefn gt(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: &str) -> ChunkedArray<BooleanType>
Greater than comparison.
sourcefn gt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
Greater than or equal comparison.
sourcefn lt(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: &str) -> ChunkedArray<BooleanType>
Less than comparison.
sourcefn lt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
Less than or equal comparison
sourceimpl<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,
sourcefn eq_missing(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn eq_missing(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
Check for equality.
sourcefn not_equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn not_equal(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
Check for inequality.
sourcefn gt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn gt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
Greater than comparison.
sourcefn gt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn gt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
Greater than or equal comparison.
sourcefn lt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn lt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
Less than comparison.
sourcefn lt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
fn lt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
Less than or equal comparison
sourceimpl<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>>,
sourcefn cummax(&self, reverse: bool) -> ChunkedArray<T>
fn cummax(&self, reverse: bool) -> ChunkedArray<T>
Get an array with the cumulative max computed at every element
sourcefn cummin(&self, reverse: bool) -> ChunkedArray<T>
fn cummin(&self, reverse: bool) -> ChunkedArray<T>
Get an array with the cumulative min computed at every element
sourcefn cumsum(&self, reverse: bool) -> ChunkedArray<T>
fn cumsum(&self, reverse: bool) -> ChunkedArray<T>
Get an array with the cumulative sum computed at every element
sourcefn cumprod(&self, reverse: bool) -> ChunkedArray<T>
fn cumprod(&self, reverse: bool) -> ChunkedArray<T>
Get an array with the cumulative product computed at every element
sourceimpl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
sourcefn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<BooleanType>
fn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<BooleanType>
Create a new ChunkedArray filled with values at that index.
sourceimpl ChunkExpandAtIndex<ListType> for ChunkedArray<ListType>
impl ChunkExpandAtIndex<ListType> for ChunkedArray<ListType>
sourcefn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<ListType>
fn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<ListType>
Create a new ChunkedArray filled with values at that index.
sourceimpl<T> ChunkExpandAtIndex<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkExpandAtIndex<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<ObjectType<T>>
fn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<ObjectType<T>>
Create a new ChunkedArray filled with values at that index.
sourceimpl<T> ChunkExpandAtIndex<T> for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkFull<<T as PolarsNumericType>::Native>,
ChunkedArray<T>: TakeRandom,
<ChunkedArray<T> as TakeRandom>::Item == <T as PolarsNumericType>::Native,
impl<T> ChunkExpandAtIndex<T> for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkFull<<T as PolarsNumericType>::Native>,
ChunkedArray<T>: TakeRandom,
<ChunkedArray<T> as TakeRandom>::Item == <T as PolarsNumericType>::Native,
sourcefn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<T>
fn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<T>
Create a new ChunkedArray filled with values at that index.
sourceimpl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
fn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
Create a new ChunkedArray filled with values at that index.
sourceimpl ChunkExplode for ChunkedArray<ListType>
impl ChunkExplode for ChunkedArray<ListType>
fn explode_and_offsets(&self) -> Result<(Series, Buffer<i64>), PolarsError>
fn explode(&self) -> Result<Series, PolarsError>
sourceimpl ChunkExplode for ChunkedArray<Utf8Type>
impl ChunkExplode for ChunkedArray<Utf8Type>
fn explode_and_offsets(&self) -> Result<(Series, Buffer<i64>), PolarsError>
fn explode(&self) -> Result<Series, PolarsError>
sourceimpl ChunkFillNull for ChunkedArray<BooleanType>
impl ChunkFillNull for ChunkedArray<BooleanType>
sourcefn fill_null(
&self,
strategy: FillNullStrategy
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn fill_null(
&self,
strategy: FillNullStrategy
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Replace None values with one of the following strategies: Read more
sourceimpl ChunkFillNull for ChunkedArray<Utf8Type>
impl ChunkFillNull for ChunkedArray<Utf8Type>
sourcefn fill_null(
&self,
strategy: FillNullStrategy
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn fill_null(
&self,
strategy: FillNullStrategy
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Replace None values with one of the following strategies: Read more
sourceimpl ChunkFillNull for ChunkedArray<ListType>
impl ChunkFillNull for ChunkedArray<ListType>
sourcefn fill_null(
&self,
_strategy: FillNullStrategy
) -> Result<ChunkedArray<ListType>, PolarsError>
fn fill_null(
&self,
_strategy: FillNullStrategy
) -> Result<ChunkedArray<ListType>, PolarsError>
Replace None values with one of the following strategies: Read more
sourceimpl<T> ChunkFillNull for ChunkedArray<ObjectType<T>>
impl<T> ChunkFillNull for ChunkedArray<ObjectType<T>>
sourcefn fill_null(
&self,
_strategy: FillNullStrategy
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
fn fill_null(
&self,
_strategy: FillNullStrategy
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
Replace None values with one of the following strategies: Read more
sourceimpl<T> ChunkFillNull for ChunkedArray<T> where
T: PolarsNumericType,
<<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
impl<T> ChunkFillNull for ChunkedArray<T> where
T: PolarsNumericType,
<<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
sourcefn fill_null(
&self,
strategy: FillNullStrategy
) -> Result<ChunkedArray<T>, PolarsError>
fn fill_null(
&self,
strategy: FillNullStrategy
) -> Result<ChunkedArray<T>, PolarsError>
Replace None values with one of the following strategies: Read more
sourceimpl<'_> ChunkFillNullValue<&'_ Series> for ChunkedArray<ListType>
impl<'_> ChunkFillNullValue<&'_ Series> for ChunkedArray<ListType>
sourcefn fill_null_with_values(
&self,
_value: &Series
) -> Result<ChunkedArray<ListType>, PolarsError>
fn fill_null_with_values(
&self,
_value: &Series
) -> Result<ChunkedArray<ListType>, PolarsError>
Replace None values with a give value T
.
sourceimpl<'_> ChunkFillNullValue<&'_ str> for ChunkedArray<Utf8Type>
impl<'_> ChunkFillNullValue<&'_ str> for ChunkedArray<Utf8Type>
sourcefn fill_null_with_values(
&self,
value: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn fill_null_with_values(
&self,
value: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Replace None values with a give value T
.
sourceimpl<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,
sourcefn 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>
Replace None values with a give value T
.
sourceimpl<T> ChunkFillNullValue<ObjectType<T>> for ChunkedArray<ObjectType<T>>
impl<T> ChunkFillNullValue<ObjectType<T>> for ChunkedArray<ObjectType<T>>
sourcefn fill_null_with_values(
&self,
_value: ObjectType<T>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
fn fill_null_with_values(
&self,
_value: ObjectType<T>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
Replace None values with a give value T
.
sourceimpl ChunkFillNullValue<bool> for ChunkedArray<BooleanType>
impl ChunkFillNullValue<bool> for ChunkedArray<BooleanType>
sourcefn fill_null_with_values(
&self,
value: bool
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn fill_null_with_values(
&self,
value: bool
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Replace None values with a give value T
.
sourceimpl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>
impl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>
sourcefn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Filter values in the ChunkedArray with a boolean mask. Read more
sourceimpl ChunkFilter<ListType> for ChunkedArray<ListType>
impl ChunkFilter<ListType> for ChunkedArray<ListType>
sourcefn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ListType>, PolarsError>
fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ListType>, PolarsError>
Filter values in the ChunkedArray with a boolean mask. Read more
sourceimpl<T> ChunkFilter<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkFilter<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn 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,
Filter values in the ChunkedArray with a boolean mask. Read more
sourceimpl<T> ChunkFilter<T> for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkFilter<T> for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<T>, PolarsError>
fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<T>, PolarsError>
Filter values in the ChunkedArray with a boolean mask. Read more
sourceimpl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Filter values in the ChunkedArray with a boolean mask. Read more
sourceimpl<'_> ChunkFull<&'_ Series> for ChunkedArray<ListType>
impl<'_> ChunkFull<&'_ Series> for ChunkedArray<ListType>
sourceimpl<'a> ChunkFull<&'a str> for ChunkedArray<Utf8Type>
impl<'a> ChunkFull<&'a str> for ChunkedArray<Utf8Type>
sourceimpl<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,
sourcefn 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>
Create a ChunkedArray with a single value.
sourceimpl<T> ChunkFull<T> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkFull<T> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn 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,
Create a ChunkedArray with a single value.
sourceimpl ChunkFull<bool> for ChunkedArray<BooleanType>
impl ChunkFull<bool> for ChunkedArray<BooleanType>
sourcefn full(name: &str, value: bool, length: usize) -> ChunkedArray<BooleanType>
fn full(name: &str, value: bool, length: usize) -> ChunkedArray<BooleanType>
Create a ChunkedArray with a single value.
sourceimpl ChunkFullNull for ChunkedArray<BooleanType>
impl ChunkFullNull for ChunkedArray<BooleanType>
fn full_null(name: &str, length: usize) -> ChunkedArray<BooleanType>
sourceimpl<T> ChunkFullNull for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkFullNull for ChunkedArray<T> where
T: PolarsNumericType,
fn full_null(name: &str, length: usize) -> ChunkedArray<T>
sourceimpl ChunkFullNull for ChunkedArray<ListType>
impl ChunkFullNull for ChunkedArray<ListType>
sourceimpl<T> ChunkFullNull for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkFullNull for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
fn full_null(name: &str, length: usize) -> ChunkedArray<ObjectType<T>>
sourceimpl ChunkFullNull for ChunkedArray<Utf8Type>
impl ChunkFullNull for ChunkedArray<Utf8Type>
sourceimpl<T> ChunkLen for ChunkedArray<T>
impl<T> ChunkLen for ChunkedArray<T>
sourceimpl<T> ChunkOps for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkOps for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn rechunk(&self) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
fn rechunk(&self) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
Aggregate to contiguous memory.
sourcefn slice(&self, offset: i64, length: usize) -> ChunkedArray<ObjectType<T>>
fn slice(&self, offset: i64, length: usize) -> ChunkedArray<ObjectType<T>>
Slice the array. The chunks are reallocated the underlying data slices are zero copy. Read more
sourceimpl<T> ChunkOps for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkOps for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn rechunk(&self) -> ChunkedArray<T>
fn rechunk(&self) -> ChunkedArray<T>
Aggregate to contiguous memory.
sourceimpl ChunkOps for ChunkedArray<BooleanType>
impl ChunkOps for ChunkedArray<BooleanType>
sourcefn rechunk(&self) -> ChunkedArray<BooleanType>
fn rechunk(&self) -> ChunkedArray<BooleanType>
Aggregate to contiguous memory.
sourcefn slice(&self, offset: i64, length: usize) -> ChunkedArray<BooleanType>
fn slice(&self, offset: i64, length: usize) -> ChunkedArray<BooleanType>
Slice the array. The chunks are reallocated the underlying data slices are zero copy. Read more
sourceimpl ChunkOps for ChunkedArray<ListType>
impl ChunkOps for ChunkedArray<ListType>
sourceimpl ChunkOps for ChunkedArray<Utf8Type>
impl ChunkOps for ChunkedArray<Utf8Type>
sourceimpl<T> ChunkPeaks for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkPeaks for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn peak_max(&self) -> ChunkedArray<BooleanType>
fn peak_max(&self) -> ChunkedArray<BooleanType>
Get a boolean mask of the local maximum peaks.
sourcefn peak_min(&self) -> ChunkedArray<BooleanType>
fn peak_min(&self) -> ChunkedArray<BooleanType>
Get a boolean mask of the local minimum peaks.
sourceimpl<T> ChunkQuantile<Series> for ChunkedArray<ObjectType<T>>
impl<T> ChunkQuantile<Series> for ChunkedArray<ObjectType<T>>
sourcefn median(&self) -> Option<T>
fn median(&self) -> Option<T>
Returns the mean value in the array.
Returns None
if the array is empty or only contains null values. Read more
sourcefn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
Aggregate a given quantile of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
sourceimpl ChunkQuantile<Series> for ChunkedArray<ListType>
impl ChunkQuantile<Series> for ChunkedArray<ListType>
sourcefn median(&self) -> Option<T>
fn median(&self) -> Option<T>
Returns the mean value in the array.
Returns None
if the array is empty or only contains null values. Read more
sourcefn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
Aggregate a given quantile of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
sourceimpl ChunkQuantile<String> for ChunkedArray<Utf8Type>
impl ChunkQuantile<String> for ChunkedArray<Utf8Type>
sourcefn median(&self) -> Option<T>
fn median(&self) -> Option<T>
Returns the mean value in the array.
Returns None
if the array is empty or only contains null values. Read more
sourcefn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
Aggregate a given quantile of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
sourceimpl ChunkQuantile<bool> for ChunkedArray<BooleanType>
impl ChunkQuantile<bool> for ChunkedArray<BooleanType>
sourcefn median(&self) -> Option<T>
fn median(&self) -> Option<T>
Returns the mean value in the array.
Returns None
if the array is empty or only contains null values. Read more
sourcefn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Option<T>, PolarsError>
Aggregate a given quantile of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
sourceimpl ChunkQuantile<f32> for ChunkedArray<Float32Type>
impl ChunkQuantile<f32> for ChunkedArray<Float32Type>
sourcefn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f32>, PolarsError>
fn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f32>, PolarsError>
Aggregate a given quantile of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
sourceimpl<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>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
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>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
sourcefn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f64>, PolarsError>
fn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f64>, PolarsError>
Aggregate a given quantile of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
sourceimpl ChunkQuantile<f64> for ChunkedArray<Float64Type>
impl ChunkQuantile<f64> for ChunkedArray<Float64Type>
sourcefn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f64>, PolarsError>
fn quantile(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Option<f64>, PolarsError>
Aggregate a given quantile of the ChunkedArray.
Returns None
if the array is empty or only contains null values. Read more
sourceimpl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
sourcefn reverse(&self) -> ChunkedArray<BooleanType>
fn reverse(&self) -> ChunkedArray<BooleanType>
Return a reversed version of this array.
sourceimpl ChunkReverse<ListType> for ChunkedArray<ListType>
impl ChunkReverse<ListType> for ChunkedArray<ListType>
sourcefn reverse(&self) -> ChunkedArray<ListType>
fn reverse(&self) -> ChunkedArray<ListType>
Return a reversed version of this array.
sourceimpl<T> ChunkReverse<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkReverse<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn reverse(&self) -> ChunkedArray<ObjectType<T>>
fn reverse(&self) -> ChunkedArray<ObjectType<T>>
Return a reversed version of this array.
sourceimpl<T> ChunkReverse<T> for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkOps,
impl<T> ChunkReverse<T> for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkOps,
sourcefn reverse(&self) -> ChunkedArray<T>
fn reverse(&self) -> ChunkedArray<T>
Return a reversed version of this array.
sourceimpl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn reverse(&self) -> ChunkedArray<Utf8Type>
fn reverse(&self) -> ChunkedArray<Utf8Type>
Return a reversed version of this array.
sourceimpl<T> ChunkRollApply for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: IntoSeries,
impl<T> ChunkRollApply for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: IntoSeries,
sourcefn rolling_apply(
&self,
f: &dyn Fn(&Series),
options: RollingOptions
) -> Result<Series, PolarsError>
fn rolling_apply(
&self,
f: &dyn Fn(&Series),
options: RollingOptions
) -> Result<Series, PolarsError>
Apply a rolling custom function. This is pretty slow because of dynamic dispatch.
sourceimpl<'a> ChunkSet<'a, &'a str, String> for ChunkedArray<Utf8Type>
impl<'a> ChunkSet<'a, &'a str, String> for ChunkedArray<Utf8Type>
sourcefn set_at_idx<I>(
&'a self,
idx: I,
opt_value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
I: IntoIterator<Item = usize>,
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 = usize>,
ChunkedArray<Utf8Type>: Sized,
Set the values at indexes idx
to some optional value Option<T>
. Read more
sourcefn set_at_idx_with<I, F>(
&'a self,
idx: I,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
I: IntoIterator<Item = usize>,
F: Fn(Option<&'a str>) -> Option<String>,
ChunkedArray<Utf8Type>: Sized,
fn set_at_idx_with<I, F>(
&'a self,
idx: I,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
I: IntoIterator<Item = usize>,
F: Fn(Option<&'a str>) -> Option<String>,
ChunkedArray<Utf8Type>: Sized,
Set the values at indexes idx
by applying a closure to these values. Read more
sourcefn 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,
Set the values where the mask evaluates to true
to some optional value Option<T>
. Read more
sourcefn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(Option<&'a str>) -> Option<String>,
ChunkedArray<Utf8Type>: Sized,
fn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(Option<&'a str>) -> Option<String>,
ChunkedArray<Utf8Type>: Sized,
Set the values where the mask evaluates to true
by applying a closure to these values. Read more
sourceimpl<'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,
sourcefn set_at_idx<I>(
&'a self,
idx: I,
value: Option<<T as PolarsNumericType>::Native>
) -> Result<ChunkedArray<T>, PolarsError> where
I: IntoIterator<Item = usize>,
fn set_at_idx<I>(
&'a self,
idx: I,
value: Option<<T as PolarsNumericType>::Native>
) -> Result<ChunkedArray<T>, PolarsError> where
I: IntoIterator<Item = usize>,
Set the values at indexes idx
to some optional value Option<T>
. Read more
sourcefn set_at_idx_with<I, F>(
&'a self,
idx: I,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
I: IntoIterator<Item = usize>,
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 = usize>,
F: Fn(Option<<T as PolarsNumericType>::Native>) -> Option<<T as PolarsNumericType>::Native>,
Set the values at indexes idx
by applying a closure to these values. Read more
sourcefn 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>
Set the values where the mask evaluates to true
to some optional value Option<T>
. Read more
sourcefn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as PolarsNumericType>::Native>) -> Option<<T as PolarsNumericType>::Native>,
fn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as PolarsNumericType>::Native>) -> Option<<T as PolarsNumericType>::Native>,
Set the values where the mask evaluates to true
by applying a closure to these values. Read more
sourceimpl<'a> ChunkSet<'a, bool, bool> for ChunkedArray<BooleanType>
impl<'a> ChunkSet<'a, bool, bool> for ChunkedArray<BooleanType>
sourcefn set_at_idx<I>(
&'a self,
idx: I,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: IntoIterator<Item = usize>,
fn set_at_idx<I>(
&'a self,
idx: I,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: IntoIterator<Item = usize>,
Set the values at indexes idx
to some optional value Option<T>
. Read more
sourcefn set_at_idx_with<I, F>(
&'a self,
idx: I,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: IntoIterator<Item = usize>,
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 = usize>,
F: Fn(Option<bool>) -> Option<bool>,
Set the values at indexes idx
by applying a closure to these values. Read more
sourcefn 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>
Set the values where the mask evaluates to true
to some optional value Option<T>
. Read more
sourcefn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(Option<bool>) -> Option<bool>,
fn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(Option<bool>) -> Option<bool>,
Set the values where the mask evaluates to true
by applying a closure to these values. Read more
sourceimpl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
fn shift(&self, periods: i64) -> ChunkedArray<BooleanType>
sourceimpl ChunkShift<ListType> for ChunkedArray<ListType>
impl ChunkShift<ListType> for ChunkedArray<ListType>
fn shift(&self, periods: i64) -> ChunkedArray<ListType>
sourceimpl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>
impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>
fn shift(&self, periods: i64) -> ChunkedArray<ObjectType<T>>
sourceimpl<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>
sourceimpl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
fn shift(&self, periods: i64) -> ChunkedArray<Utf8Type>
sourceimpl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
sourcefn 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>
Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value
. Read more
sourceimpl<'_> ChunkShiftFill<ListType, Option<&'_ Series>> for ChunkedArray<ListType>
impl<'_> ChunkShiftFill<ListType, Option<&'_ Series>> for ChunkedArray<ListType>
sourcefn 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>
Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value
. Read more
sourceimpl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>
impl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>
sourcefn 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>>
Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value
. Read more
sourceimpl<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,
sourcefn 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>
Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value
. Read more
sourceimpl<'_> ChunkShiftFill<Utf8Type, Option<&'_ str>> for ChunkedArray<Utf8Type>
impl<'_> ChunkShiftFill<Utf8Type, Option<&'_ str>> for ChunkedArray<Utf8Type>
sourcefn 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>
Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value
. Read more
sourceimpl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
fn sort_with(&self, options: SortOptions) -> ChunkedArray<BooleanType>
sourcefn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>
fn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
sourcefn argsort_multiple(
&self,
_other: &[Series],
_reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn argsort_multiple(
&self,
_other: &[Series],
_reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Retrieve the indexes need to sort this and the other arrays.
sourceimpl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
impl ChunkSort<Float32Type> for ChunkedArray<Float32Type>
sourcefn 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>
sourcefn sort(&self, reverse: bool) -> ChunkedArray<Float32Type>
fn sort(&self, reverse: bool) -> ChunkedArray<Float32Type>
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
sourceimpl ChunkSort<Float64Type> for ChunkedArray<Float64Type>
impl ChunkSort<Float64Type> for ChunkedArray<Float64Type>
sourcefn 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>
sourcefn sort(&self, reverse: bool) -> ChunkedArray<Float64Type>
fn sort(&self, reverse: bool) -> ChunkedArray<Float64Type>
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
sourceimpl<T> ChunkSort<T> for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Default,
<T as PolarsNumericType>::Native: Ord,
impl<T> ChunkSort<T> for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Default,
<T as PolarsNumericType>::Native: Ord,
sourcefn 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>
sourcefn sort(&self, reverse: bool) -> ChunkedArray<T>
fn sort(&self, reverse: bool) -> ChunkedArray<T>
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
sourceimpl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn 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>
sourcefn sort(&self, reverse: bool) -> ChunkedArray<Utf8Type>
fn sort(&self, reverse: bool) -> ChunkedArray<Utf8Type>
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
sourceimpl ChunkTake for ChunkedArray<Utf8Type>
impl ChunkTake for ChunkedArray<Utf8Type>
sourceunsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<Utf8Type> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<Utf8Type>: Sized,
unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<Utf8Type> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<Utf8Type>: Sized,
Take values from ChunkedArray by index. Read more
sourcefn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<Utf8Type>: Sized,
fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<Utf8Type>: Sized,
Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference. Read more
sourceimpl<T> ChunkTake for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkTake for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourceunsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ObjectType<T>> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ObjectType<T>>: Sized,
unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ObjectType<T>> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ObjectType<T>>: Sized,
Take values from ChunkedArray by index. Read more
sourcefn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ObjectType<T>>: Sized,
fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ObjectType<T>>: Sized,
Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference. Read more
sourceimpl ChunkTake for ChunkedArray<ListType>
impl ChunkTake for ChunkedArray<ListType>
sourceunsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ListType> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ListType>: Sized,
unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ListType> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ListType>: Sized,
Take values from ChunkedArray by index. Read more
sourcefn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<ListType>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ListType>: Sized,
fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<ListType>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<ListType>: Sized,
Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference. Read more
sourceimpl<T> ChunkTake for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkTake for ChunkedArray<T> where
T: PolarsNumericType,
sourceunsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<T> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<T>: Sized,
unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<T> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<T>: Sized,
Take values from ChunkedArray by index. Read more
sourcefn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<T>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<T>: Sized,
fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<T>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<T>: Sized,
Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference. Read more
sourceimpl ChunkTake for ChunkedArray<BooleanType>
impl ChunkTake for ChunkedArray<BooleanType>
sourceunsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<BooleanType> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<BooleanType>: Sized,
unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<BooleanType> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<BooleanType>: Sized,
Take values from ChunkedArray by index. Read more
sourcefn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<BooleanType>: Sized,
fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: TakeIterator,
INulls: TakeIteratorNulls,
ChunkedArray<BooleanType>: Sized,
Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference. Read more
sourceimpl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
sourcefn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
Traverse and collect every nth element in a new array.
sourceimpl ChunkTakeEvery<ListType> for ChunkedArray<ListType>
impl ChunkTakeEvery<ListType> for ChunkedArray<ListType>
sourcefn take_every(&self, n: usize) -> ChunkedArray<ListType>
fn take_every(&self, n: usize) -> ChunkedArray<ListType>
Traverse and collect every nth element in a new array.
sourceimpl<T> ChunkTakeEvery<ObjectType<T>> for ChunkedArray<ObjectType<T>>
impl<T> ChunkTakeEvery<ObjectType<T>> for ChunkedArray<ObjectType<T>>
sourcefn take_every(&self, _n: usize) -> ChunkedArray<ObjectType<T>>
fn take_every(&self, _n: usize) -> ChunkedArray<ObjectType<T>>
Traverse and collect every nth element in a new array.
sourceimpl<T> ChunkTakeEvery<T> for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkTakeEvery<T> for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn take_every(&self, n: usize) -> ChunkedArray<T>
fn take_every(&self, n: usize) -> ChunkedArray<T>
Traverse and collect every nth element in a new array.
sourceimpl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>
fn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>
Traverse and collect every nth element in a new array.
sourceimpl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
sourcefn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
sourcefn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkUnique<Float64Type> for ChunkedArray<Float64Type>
impl ChunkUnique<Float64Type> for ChunkedArray<Float64Type>
sourcefn unique(&self) -> Result<ChunkedArray<Float64Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Float64Type>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl<T> ChunkUnique<ObjectType<T>> for ChunkedArray<ObjectType<T>>
impl<T> ChunkUnique<ObjectType<T>> for ChunkedArray<ObjectType<T>>
sourcefn unique(&self) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl<T> ChunkUnique<T> for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Hash,
<T as PolarsNumericType>::Native: Eq,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: IntoSeries,
impl<T> ChunkUnique<T> for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Hash,
<T as PolarsNumericType>::Native: Eq,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: IntoSeries,
sourcefn unique(&self) -> Result<ChunkedArray<T>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<T>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<T>, PolarsError>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn mode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkVar<Series> for ChunkedArray<ListType>
impl ChunkVar<Series> for ChunkedArray<ListType>
sourceimpl<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>
impl<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>
sourceimpl ChunkVar<String> for ChunkedArray<Utf8Type>
impl ChunkVar<String> for ChunkedArray<Utf8Type>
sourceimpl ChunkVar<bool> for ChunkedArray<BooleanType>
impl ChunkVar<bool> for ChunkedArray<BooleanType>
sourceimpl ChunkVar<f32> for ChunkedArray<Float32Type>
impl ChunkVar<f32> for ChunkedArray<Float32Type>
sourceimpl<T> ChunkVar<f64> for ChunkedArray<T> where
T: PolarsIntegerType,
<<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
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>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
sourceimpl ChunkVar<f64> for ChunkedArray<Float64Type>
impl ChunkVar<f64> for ChunkedArray<Float64Type>
sourceimpl ChunkZip<BooleanType> for ChunkedArray<BooleanType>
impl ChunkZip<BooleanType> for ChunkedArray<BooleanType>
sourcefn 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>
Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
sourceimpl ChunkZip<ListType> for ChunkedArray<ListType>
impl ChunkZip<ListType> for ChunkedArray<ListType>
sourcefn 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>
Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
sourceimpl<T> ChunkZip<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> ChunkZip<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn 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>
Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
sourceimpl<T> ChunkZip<T> for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> ChunkZip<T> for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn 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>
Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
sourceimpl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn 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>
Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
sourceimpl<T> Clone for ChunkedArray<T>
impl<T> Clone for ChunkedArray<T>
sourcefn clone(&self) -> ChunkedArray<T>
fn clone(&self) -> ChunkedArray<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChunkedArray<ListType>
impl Debug for ChunkedArray<ListType>
sourceimpl Debug for ChunkedArray<Utf8Type>
impl Debug for ChunkedArray<Utf8Type>
sourceimpl Debug for ChunkedArray<BooleanType>
impl Debug for ChunkedArray<BooleanType>
sourceimpl<T> Debug for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> Debug for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourceimpl<T> Debug for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> Debug for ChunkedArray<T> where
T: PolarsNumericType,
sourceimpl<T> Default for ChunkedArray<T>
impl<T> Default for ChunkedArray<T>
sourcefn default() -> ChunkedArray<T>
fn default() -> ChunkedArray<T>
Returns the “default value” for a type. Read more
sourceimpl<'_, 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>
The resulting type after applying the /
operator.
sourcefn 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
Performs the /
operation. Read more
sourceimpl<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>
The resulting type after applying the /
operator.
sourcefn 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
Performs the /
operation. Read more
sourceimpl<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>
The resulting type after applying the /
operator.
sourceimpl<'_, 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>
The resulting type after applying the /
operator.
sourceimpl<T> Drop for ChunkedArray<T>
impl<T> Drop for ChunkedArray<T>
sourceimpl<'_, 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,
sourcefn from(slice: &[<T as PolarsNumericType>::Native]) -> ChunkedArray<T>
fn from(slice: &[<T as PolarsNumericType>::Native]) -> ChunkedArray<T>
Performs the conversion.
sourceimpl<'a> From<&'a ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
impl<'a> From<&'a ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
sourceimpl<'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,
sourceimpl<'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
sourcefn from(
ca: &'a ChunkedArray<UInt32Type>
) -> TakeIdx<'a, Once<usize>, Once<Option<usize>>>
fn from(
ca: &'a ChunkedArray<UInt32Type>
) -> TakeIdx<'a, Once<usize>, Once<Option<usize>>>
Performs the conversion.
sourceimpl<'_> From<(&'_ str, BooleanArray)> for ChunkedArray<BooleanType>
impl<'_> From<(&'_ str, BooleanArray)> for ChunkedArray<BooleanType>
sourcefn from(tpl: (&str, BooleanArray)) -> ChunkedArray<BooleanType>
fn from(tpl: (&str, BooleanArray)) -> ChunkedArray<BooleanType>
Performs the conversion.
sourceimpl<'_, 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,
sourcefn from(
tpl: (&str, PrimitiveArray<<T as PolarsNumericType>::Native>)
) -> ChunkedArray<T>
fn from(
tpl: (&str, PrimitiveArray<<T as PolarsNumericType>::Native>)
) -> ChunkedArray<T>
Performs the conversion.
sourceimpl From<BooleanArray> for ChunkedArray<BooleanType>
impl From<BooleanArray> for ChunkedArray<BooleanType>
sourcefn from(arr: BooleanArray) -> ChunkedArray<BooleanType>
fn from(arr: BooleanArray) -> ChunkedArray<BooleanType>
Performs the conversion.
sourceimpl From<ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
impl From<ChunkedArray<BooleanType>> for Vec<Option<bool>, Global>
sourceimpl<T> From<ChunkedArray<T>> for Series where
T: PolarsDataType,
ChunkedArray<T>: IntoSeries,
impl<T> From<ChunkedArray<T>> for Series where
T: PolarsDataType,
ChunkedArray<T>: IntoSeries,
sourcefn from(ca: ChunkedArray<T>) -> Series
fn from(ca: ChunkedArray<T>) -> Series
Performs the conversion.
sourceimpl<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,
sourcefn from(a: PrimitiveArray<<T as PolarsNumericType>::Native>) -> ChunkedArray<T>
fn from(a: PrimitiveArray<<T as PolarsNumericType>::Native>) -> ChunkedArray<T>
Performs the conversion.
sourceimpl<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,
sourcefn 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>)>,
Creates a value from an iterator. Read more
sourceimpl<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
sourcefn 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>>,
Creates a value from an iterator. Read more
sourceimpl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
sourcefn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Option<Ptr>>,
fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Option<Ptr>>,
Creates a value from an iterator. Read more
sourceimpl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<Utf8Type> where
Ptr: AsRef<str>,
impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<Utf8Type> where
Ptr: AsRef<str>,
sourcefn 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>>,
Creates a value from an iterator. Read more
sourceimpl<T> FromIterator<Option<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> FromIterator<Option<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn 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>>,
Creates a value from an iterator. Read more
sourceimpl FromIterator<Option<bool>> for ChunkedArray<BooleanType>
impl FromIterator<Option<bool>> for ChunkedArray<BooleanType>
sourcefn 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>>,
Creates a value from an iterator. Read more
sourceimpl<Ptr> FromIterator<Ptr> for ChunkedArray<Utf8Type> where
Ptr: PolarsAsRef<str>,
impl<Ptr> FromIterator<Ptr> for ChunkedArray<Utf8Type> where
Ptr: PolarsAsRef<str>,
sourcefn 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>,
Creates a value from an iterator. Read more
sourceimpl<Ptr> FromIterator<Ptr> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
impl<Ptr> FromIterator<Ptr> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
sourcefn 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>,
Creates a value from an iterator. Read more
sourceimpl FromIterator<bool> for ChunkedArray<BooleanType>
impl FromIterator<bool> for ChunkedArray<BooleanType>
sourcefn 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>,
Creates a value from an iterator. Read more
sourceimpl<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>>,
sourceimpl<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,
sourcefn 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>>,
Creates an instance of the collection from the parallel iterator par_iter
. Read more
sourceimpl<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,
sourcefn 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>>,
Creates an instance of the collection from the parallel iterator par_iter
. Read more
sourceimpl<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,
sourcefn 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>,
Creates an instance of the collection from the parallel iterator par_iter
. Read more
sourceimpl FromParallelIterator<bool> for ChunkedArray<BooleanType>
impl FromParallelIterator<bool> for ChunkedArray<BooleanType>
sourcefn 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>,
Creates an instance of the collection from the parallel iterator par_iter
. Read more
sourceimpl<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>>,
sourceimpl<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>>,
sourceimpl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Option<Ptr>>,
sourceimpl<T> FromTrustedLenIterator<Option<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> FromTrustedLenIterator<Option<T>> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
fn from_iter_trusted_length<I>(iter: I) -> ChunkedArray<ObjectType<T>> where
I: IntoIterator<Item = Option<T>>,
sourceimpl 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,
sourceimpl<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>,
sourceimpl<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>,
sourceimpl 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,
sourceimpl Interpolate for ChunkedArray<UInt32Type>
impl Interpolate for ChunkedArray<UInt32Type>
fn interpolate(&self) -> ChunkedArray<UInt32Type>
sourceimpl Interpolate for ChunkedArray<UInt8Type>
impl Interpolate for ChunkedArray<UInt8Type>
fn interpolate(&self) -> ChunkedArray<UInt8Type>
sourceimpl Interpolate for ChunkedArray<UInt64Type>
impl Interpolate for ChunkedArray<UInt64Type>
fn interpolate(&self) -> ChunkedArray<UInt64Type>
sourceimpl Interpolate for ChunkedArray<Float64Type>
impl Interpolate for ChunkedArray<Float64Type>
fn interpolate(&self) -> ChunkedArray<Float64Type>
sourceimpl Interpolate for ChunkedArray<Int8Type>
impl Interpolate for ChunkedArray<Int8Type>
fn interpolate(&self) -> ChunkedArray<Int8Type>
sourceimpl Interpolate for ChunkedArray<Int32Type>
impl Interpolate for ChunkedArray<Int32Type>
fn interpolate(&self) -> ChunkedArray<Int32Type>
sourceimpl Interpolate for ChunkedArray<Int16Type>
impl Interpolate for ChunkedArray<Int16Type>
fn interpolate(&self) -> ChunkedArray<Int16Type>
sourceimpl Interpolate for ChunkedArray<Float32Type>
impl Interpolate for ChunkedArray<Float32Type>
fn interpolate(&self) -> ChunkedArray<Float32Type>
sourceimpl Interpolate for ChunkedArray<UInt16Type>
impl Interpolate for ChunkedArray<UInt16Type>
fn interpolate(&self) -> ChunkedArray<UInt16Type>
sourceimpl Interpolate for ChunkedArray<Int64Type>
impl Interpolate for ChunkedArray<Int64Type>
fn interpolate(&self) -> ChunkedArray<Int64Type>
sourceimpl<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,
sourcefn group_tuples(&self, multithreaded: bool, sorted: bool) -> GroupsProxy
fn group_tuples(&self, multithreaded: bool, sorted: bool) -> GroupsProxy
Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value. Read more
sourceimpl IntoGroupsProxy for ChunkedArray<ListType>
impl IntoGroupsProxy for ChunkedArray<ListType>
sourcefn group_tuples(&self, _multithreaded: bool, _sorted: bool) -> GroupsProxy
fn group_tuples(&self, _multithreaded: bool, _sorted: bool) -> GroupsProxy
Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value. Read more
sourceimpl IntoGroupsProxy for ChunkedArray<Utf8Type>
impl IntoGroupsProxy for ChunkedArray<Utf8Type>
sourcefn group_tuples(&'a self, multithreaded: bool, sorted: bool) -> GroupsProxy
fn group_tuples(&'a self, multithreaded: bool, sorted: bool) -> GroupsProxy
Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value. Read more
sourceimpl IntoGroupsProxy for ChunkedArray<BooleanType>
impl IntoGroupsProxy for ChunkedArray<BooleanType>
sourcefn group_tuples(&self, multithreaded: bool, sorted: bool) -> GroupsProxy
fn group_tuples(&self, multithreaded: bool, sorted: bool) -> GroupsProxy
Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value. Read more
sourceimpl<T> IntoGroupsProxy for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> IntoGroupsProxy for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn group_tuples(&self, _multithreaded: bool, sorted: bool) -> GroupsProxy
fn group_tuples(&self, _multithreaded: bool, sorted: bool) -> GroupsProxy
Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value. Read more
sourceimpl<'a, T> IntoIterator for &'a ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<'a, T> IntoIterator for &'a ChunkedArray<ObjectType<T>> where
T: PolarsObject,
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>
Which kind of iterator are we turning this into?
sourcefn into_iter(
self
) -> <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::IntoIter
fn into_iter(
self
) -> <&'a ChunkedArray<ObjectType<T>> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
sourceimpl<'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>
Which kind of iterator are we turning this into?
sourcefn into_iter(self) -> <&'a ChunkedArray<ListType> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<ListType> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
sourceimpl<'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>
The type of the elements being iterated over.
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>
Which kind of iterator are we turning this into?
sourcefn into_iter(self) -> <&'a ChunkedArray<T> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<T> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
sourceimpl<'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>
Which kind of iterator are we turning this into?
sourcefn into_iter(self) -> <&'a ChunkedArray<Utf8Type> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<Utf8Type> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
sourceimpl<'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>
Which kind of iterator are we turning this into?
sourcefn into_iter(self) -> <&'a ChunkedArray<BooleanType> as IntoIterator>::IntoIter
fn into_iter(self) -> <&'a ChunkedArray<BooleanType> as IntoIterator>::IntoIter
Creates an iterator from a value. Read more
sourceimpl IntoSeries for ChunkedArray<BooleanType>
impl IntoSeries for ChunkedArray<BooleanType>
sourceimpl IntoSeries for ChunkedArray<Float32Type>
impl IntoSeries for ChunkedArray<Float32Type>
sourceimpl IntoSeries for ChunkedArray<Float64Type>
impl IntoSeries for ChunkedArray<Float64Type>
sourceimpl IntoSeries for ChunkedArray<UInt64Type>
impl IntoSeries for ChunkedArray<UInt64Type>
sourceimpl<T> IntoSeries for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> IntoSeries for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourceimpl IntoSeries for ChunkedArray<ListType>
impl IntoSeries for ChunkedArray<ListType>
sourceimpl IntoSeries for ChunkedArray<UInt32Type>
impl IntoSeries for ChunkedArray<UInt32Type>
sourceimpl IntoSeries for ChunkedArray<UInt8Type>
impl IntoSeries for ChunkedArray<UInt8Type>
sourceimpl IntoSeries for ChunkedArray<Int8Type>
impl IntoSeries for ChunkedArray<Int8Type>
sourceimpl IntoSeries for ChunkedArray<Int64Type>
impl IntoSeries for ChunkedArray<Int64Type>
sourceimpl IntoSeries for ChunkedArray<Utf8Type>
impl IntoSeries for ChunkedArray<Utf8Type>
sourceimpl IntoSeries for ChunkedArray<Int16Type>
impl IntoSeries for ChunkedArray<Int16Type>
sourceimpl IntoSeries for ChunkedArray<Int32Type>
impl IntoSeries for ChunkedArray<Int32Type>
sourceimpl IntoSeries for ChunkedArray<UInt16Type>
impl IntoSeries for ChunkedArray<UInt16Type>
sourceimpl<'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>>
sourcefn take_rand(&self) -> <&'a ChunkedArray<T> as IntoTakeRandom<'a>>::TakeRandom
fn take_rand(&self) -> <&'a ChunkedArray<T> as IntoTakeRandom<'a>>::TakeRandom
Create a type that implements TakeRandom
.
sourceimpl<'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>>
sourcefn take_rand(
&self
) -> <&'a ChunkedArray<ListType> as IntoTakeRandom<'a>>::TakeRandom
fn take_rand(
&self
) -> <&'a ChunkedArray<ListType> as IntoTakeRandom<'a>>::TakeRandom
Create a type that implements TakeRandom
.
sourceimpl<'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>>
sourcefn take_rand(
&self
) -> <&'a ChunkedArray<Utf8Type> as IntoTakeRandom<'a>>::TakeRandom
fn take_rand(
&self
) -> <&'a ChunkedArray<Utf8Type> as IntoTakeRandom<'a>>::TakeRandom
Create a type that implements TakeRandom
.
sourceimpl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<ObjectType<T>> where
T: PolarsObject,
type Item = &'a T
type TakeRandom = TakeRandBranch2<ObjectTakeRandomSingleChunk<'a, T>, ObjectTakeRandom<'a, T>>
sourcefn take_rand(
&self
) -> <&'a ChunkedArray<ObjectType<T>> as IntoTakeRandom<'a>>::TakeRandom
fn take_rand(
&self
) -> <&'a ChunkedArray<ObjectType<T>> as IntoTakeRandom<'a>>::TakeRandom
Create a type that implements TakeRandom
.
sourceimpl<'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>>
sourcefn take_rand(
&self
) -> <&'a ChunkedArray<BooleanType> as IntoTakeRandom<'a>>::TakeRandom
fn take_rand(
&self
) -> <&'a ChunkedArray<BooleanType> as IntoTakeRandom<'a>>::TakeRandom
Create a type that implements TakeRandom
.
sourceimpl<T> IsFirst<T> for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> IsFirst<T> for ChunkedArray<T> where
T: PolarsNumericType,
fn is_first(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
sourceimpl IsFirst<Utf8Type> for ChunkedArray<Utf8Type>
impl IsFirst<Utf8Type> for ChunkedArray<Utf8Type>
fn is_first(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
sourceimpl IsIn for ChunkedArray<BooleanType>
impl IsIn for ChunkedArray<BooleanType>
sourcefn is_in(
&self,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_in(
&self,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Check if elements of this array are in the right Series, or List values of the right Series.
sourceimpl<T> IsIn for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> IsIn for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn is_in(
&self,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_in(
&self,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Check if elements of this array are in the right Series, or List values of the right Series.
sourceimpl IsIn for ChunkedArray<Utf8Type>
impl IsIn for ChunkedArray<Utf8Type>
sourcefn is_in(
&self,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_in(
&self,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Check if elements of this array are in the right Series, or List values of the right Series.
sourceimpl<'_, 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>
The resulting type after applying the *
operator.
sourcefn 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
Performs the *
operation. Read more
sourceimpl<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>
The resulting type after applying the *
operator.
sourcefn 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
Performs the *
operation. Read more
sourceimpl<'_, 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>
The resulting type after applying the *
operator.
sourceimpl<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>
The resulting type after applying the *
operator.
sourceimpl<'_, '_, T> NamedFrom<&'_ [T], &'_ [T]> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<'_, '_, T> NamedFrom<&'_ [T], &'_ [T]> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourcefn new(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>
fn new(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>
Initialize by name and values.
sourceimpl NamedFrom<Range<u32>, UInt32Type> for ChunkedArray<UInt32Type>
impl NamedFrom<Range<u32>, UInt32Type> for ChunkedArray<UInt32Type>
sourcefn new(name: &str, range: Range<u32>) -> ChunkedArray<UInt32Type>
fn new(name: &str, range: Range<u32>) -> ChunkedArray<UInt32Type>
Initialize by name and values.
sourceimpl NamedFrom<Range<u64>, UInt64Type> for ChunkedArray<UInt64Type>
impl NamedFrom<Range<u64>, UInt64Type> for ChunkedArray<UInt64Type>
sourcefn new(name: &str, range: Range<u64>) -> ChunkedArray<UInt64Type>
fn new(name: &str, range: Range<u64>) -> ChunkedArray<UInt64Type>
Initialize by name and values.
sourceimpl<T, S> NamedFrom<S, [Option<T>]> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
S: AsRef<[Option<T>]>,
impl<T, S> NamedFrom<S, [Option<T>]> for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
S: AsRef<[Option<T>]>,
sourcefn new(name: &str, v: S) -> ChunkedArray<ObjectType<T>>
fn new(name: &str, v: S) -> ChunkedArray<ObjectType<T>>
Initialize by name and values.
sourceimpl<'a, T> NamedFrom<T, [&'a str]> for ChunkedArray<Utf8Type> where
T: AsRef<[&'a str]>,
impl<'a, T> NamedFrom<T, [&'a str]> for ChunkedArray<Utf8Type> where
T: AsRef<[&'a str]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
Initialize by name and values.
sourceimpl<'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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
Initialize by name and values.
sourceimpl<'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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
Initialize by name and values.
sourceimpl<'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>>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<BooleanType>
fn new(name: &str, v: T) -> ChunkedArray<BooleanType>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Float32Type>
fn new(name: &str, v: T) -> ChunkedArray<Float32Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Float64Type>
fn new(name: &str, v: T) -> ChunkedArray<Float64Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int16Type>
fn new(name: &str, v: T) -> ChunkedArray<Int16Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int32Type>
fn new(name: &str, v: T) -> ChunkedArray<Int32Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int64Type>
fn new(name: &str, v: T) -> ChunkedArray<Int64Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [Option<i8>]> for ChunkedArray<Int8Type> where
T: AsRef<[Option<i8>]>,
impl<T> NamedFrom<T, [Option<i8>]> for ChunkedArray<Int8Type> where
T: AsRef<[Option<i8>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int8Type>
fn new(name: &str, v: T) -> ChunkedArray<Int8Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
Initialize by name and values.
sourceimpl<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>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [Option<u8>]> for ChunkedArray<UInt8Type> where
T: AsRef<[Option<u8>]>,
impl<T> NamedFrom<T, [Option<u8>]> for ChunkedArray<UInt8Type> where
T: AsRef<[Option<u8>]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt8Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt8Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [String]> for ChunkedArray<Utf8Type> where
T: AsRef<[String]>,
impl<T> NamedFrom<T, [String]> for ChunkedArray<Utf8Type> where
T: AsRef<[String]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
fn new(name: &str, v: T) -> ChunkedArray<Utf8Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [bool]> for ChunkedArray<BooleanType> where
T: AsRef<[bool]>,
impl<T> NamedFrom<T, [bool]> for ChunkedArray<BooleanType> where
T: AsRef<[bool]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<BooleanType>
fn new(name: &str, v: T) -> ChunkedArray<BooleanType>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [f32]> for ChunkedArray<Float32Type> where
T: AsRef<[f32]>,
impl<T> NamedFrom<T, [f32]> for ChunkedArray<Float32Type> where
T: AsRef<[f32]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Float32Type>
fn new(name: &str, v: T) -> ChunkedArray<Float32Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [f64]> for ChunkedArray<Float64Type> where
T: AsRef<[f64]>,
impl<T> NamedFrom<T, [f64]> for ChunkedArray<Float64Type> where
T: AsRef<[f64]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Float64Type>
fn new(name: &str, v: T) -> ChunkedArray<Float64Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [i16]> for ChunkedArray<Int16Type> where
T: AsRef<[i16]>,
impl<T> NamedFrom<T, [i16]> for ChunkedArray<Int16Type> where
T: AsRef<[i16]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int16Type>
fn new(name: &str, v: T) -> ChunkedArray<Int16Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [i32]> for ChunkedArray<Int32Type> where
T: AsRef<[i32]>,
impl<T> NamedFrom<T, [i32]> for ChunkedArray<Int32Type> where
T: AsRef<[i32]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int32Type>
fn new(name: &str, v: T) -> ChunkedArray<Int32Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [i64]> for ChunkedArray<Int64Type> where
T: AsRef<[i64]>,
impl<T> NamedFrom<T, [i64]> for ChunkedArray<Int64Type> where
T: AsRef<[i64]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int64Type>
fn new(name: &str, v: T) -> ChunkedArray<Int64Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [i8]> for ChunkedArray<Int8Type> where
T: AsRef<[i8]>,
impl<T> NamedFrom<T, [i8]> for ChunkedArray<Int8Type> where
T: AsRef<[i8]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<Int8Type>
fn new(name: &str, v: T) -> ChunkedArray<Int8Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [u16]> for ChunkedArray<UInt16Type> where
T: AsRef<[u16]>,
impl<T> NamedFrom<T, [u16]> for ChunkedArray<UInt16Type> where
T: AsRef<[u16]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt16Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [u32]> for ChunkedArray<UInt32Type> where
T: AsRef<[u32]>,
impl<T> NamedFrom<T, [u32]> for ChunkedArray<UInt32Type> where
T: AsRef<[u32]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt32Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [u64]> for ChunkedArray<UInt64Type> where
T: AsRef<[u64]>,
impl<T> NamedFrom<T, [u64]> for ChunkedArray<UInt64Type> where
T: AsRef<[u64]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt64Type>
Initialize by name and values.
sourceimpl<T> NamedFrom<T, [u8]> for ChunkedArray<UInt8Type> where
T: AsRef<[u8]>,
impl<T> NamedFrom<T, [u8]> for ChunkedArray<UInt8Type> where
T: AsRef<[u8]>,
sourcefn new(name: &str, v: T) -> ChunkedArray<UInt8Type>
fn new(name: &str, v: T) -> ChunkedArray<UInt8Type>
Initialize by name and values.
sourceimpl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>
impl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>
sourcefn 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>
sourcefn 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>
Create a new ChunkedArray from an iterator.
sourceimpl<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,
sourcefn 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>>
sourcefn 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>>
Create a new ChunkedArray from an iterator.
sourceimpl<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,
sourcefn 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>
sourcefn 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>
Create a new ChunkedArray from an iterator.
sourceimpl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type> where
S: AsRef<str>,
impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type> where
S: AsRef<str>,
sourcefn 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>
sourcefn 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>
Create a new ChunkedArray from an iterator.
sourceimpl<'_> Not for &'_ ChunkedArray<BooleanType>
impl<'_> Not for &'_ ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the !
operator.
sourcefn not(self) -> <&'_ ChunkedArray<BooleanType> as Not>::Output
fn not(self) -> <&'_ ChunkedArray<BooleanType> as Not>::Output
Performs the unary !
operation. Read more
sourceimpl Not for ChunkedArray<BooleanType>
impl Not for ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
type Output = ChunkedArray<BooleanType>
The resulting type after applying the !
operator.
sourcefn not(self) -> <ChunkedArray<BooleanType> as Not>::Output
fn not(self) -> <ChunkedArray<BooleanType> as Not>::Output
Performs the unary !
operation. Read more
sourceimpl<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>
sourceimpl 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>
sourceimpl<T> NumOpsDispatchChecked for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: CheckedDiv,
<T as PolarsNumericType>::Native: CheckedDiv,
<T as PolarsNumericType>::Native: Zero,
<T as PolarsNumericType>::Native: One,
ChunkedArray<T>: IntoSeries,
<<T as PolarsNumericType>::Native as Div<<T as PolarsNumericType>::Native>>::Output == <T as PolarsNumericType>::Native,
<<T as PolarsNumericType>::Native as Div<<T as PolarsNumericType>::Native>>::Output == <T as PolarsNumericType>::Native,
impl<T> NumOpsDispatchChecked for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: CheckedDiv,
<T as PolarsNumericType>::Native: CheckedDiv,
<T as PolarsNumericType>::Native: Zero,
<T as PolarsNumericType>::Native: One,
ChunkedArray<T>: IntoSeries,
<<T as PolarsNumericType>::Native as Div<<T as PolarsNumericType>::Native>>::Output == <T as PolarsNumericType>::Native,
<<T as PolarsNumericType>::Native as Div<<T as PolarsNumericType>::Native>>::Output == <T as PolarsNumericType>::Native,
sourcefn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError> where
T: ToPrimitive,
sourceimpl NumOpsDispatchChecked for ChunkedArray<Float32Type>
impl NumOpsDispatchChecked for ChunkedArray<Float32Type>
sourcefn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError> where
T: ToPrimitive,
sourceimpl NumOpsDispatchChecked for ChunkedArray<Float64Type>
impl NumOpsDispatchChecked for ChunkedArray<Float64Type>
sourcefn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
fn checked_div(&self, rhs: &Series) -> Result<Series, PolarsError>
Checked integer division. Computes self / rhs, returning None if rhs == 0 or the division results in overflow.
fn checked_div_num<T>(&self, _rhs: T) -> Result<Series, PolarsError> where
T: ToPrimitive,
sourceimpl<T> Pow for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkCast,
impl<T> Pow for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkCast,
fn pow_f32(&self, exp: f32) -> ChunkedArray<Float32Type>
fn pow_f64(&self, exp: f64) -> ChunkedArray<Float64Type>
sourceimpl QuantileAggSeries for ChunkedArray<Float32Type>
impl QuantileAggSeries for ChunkedArray<Float32Type>
sourcefn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl QuantileAggSeries for ChunkedArray<BooleanType>
impl QuantileAggSeries for ChunkedArray<BooleanType>
sourcefn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl<T> QuantileAggSeries for ChunkedArray<ObjectType<T>>
impl<T> QuantileAggSeries for ChunkedArray<ObjectType<T>>
sourcefn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl QuantileAggSeries for ChunkedArray<Utf8Type>
impl QuantileAggSeries for ChunkedArray<Utf8Type>
sourcefn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl QuantileAggSeries for ChunkedArray<ListType>
impl QuantileAggSeries for ChunkedArray<ListType>
sourcefn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl<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>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
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>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
sourcefn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl QuantileAggSeries for ChunkedArray<Float64Type>
impl QuantileAggSeries for ChunkedArray<Float64Type>
sourcefn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
fn quantile_as_series(
&self,
quantile: f64,
interpol: QuantileInterpolOptions
) -> Result<Series, PolarsError>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl<'_, 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>
The resulting type after applying the %
operator.
sourcefn 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
Performs the %
operation. Read more
sourceimpl<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>
The resulting type after applying the %
operator.
sourcefn 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
Performs the %
operation. Read more
sourceimpl<'_, 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>
The resulting type after applying the %
operator.
sourceimpl<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>
The resulting type after applying the %
operator.
sourceimpl RepeatBy for ChunkedArray<BooleanType>
impl RepeatBy for ChunkedArray<BooleanType>
sourcefn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
Repeat the values n
times, where n
is determined by the values in by
.
sourceimpl<T> RepeatBy for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> RepeatBy for ChunkedArray<T> where
T: PolarsNumericType,
sourcefn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
Repeat the values n
times, where n
is determined by the values in by
.
sourceimpl RepeatBy for ChunkedArray<Utf8Type>
impl RepeatBy for ChunkedArray<Utf8Type>
sourcefn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
fn repeat_by(&self, by: &ChunkedArray<UInt32Type>) -> ChunkedArray<ListType>
Repeat the values n
times, where n
is determined by the values in by
.
sourceimpl<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,
sourcefn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
Concat the values into a string array. Read more
sourceimpl StrConcat for ChunkedArray<Utf8Type>
impl StrConcat for ChunkedArray<Utf8Type>
sourcefn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
fn str_concat(&self, delimiter: &str) -> ChunkedArray<Utf8Type>
Concat the values into a string array. Read more
sourceimpl<'_, 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>
The resulting type after applying the -
operator.
sourcefn 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
Performs the -
operation. Read more
sourceimpl<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>
The resulting type after applying the -
operator.
sourcefn 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
Performs the -
operation. Read more
sourceimpl<'_, 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>
The resulting type after applying the -
operator.
sourceimpl<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>
The resulting type after applying the -
operator.
sourceimpl<'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
sourcefn get(&self, index: usize) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>
fn get(&self, index: usize) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>
Get a nullable value by index. Read more
sourceunsafe 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>
Get a value by index and ignore the null bit. Read more
sourceimpl<'a> TakeRandom for &'a ChunkedArray<Utf8Type>
impl<'a> TakeRandom for &'a ChunkedArray<Utf8Type>
sourceimpl<T> TakeRandom for ChunkedArray<T> where
T: PolarsNumericType,
impl<T> TakeRandom for ChunkedArray<T> where
T: PolarsNumericType,
type Item = <T as PolarsNumericType>::Native
sourcefn get(&self, index: usize) -> Option<<ChunkedArray<T> as TakeRandom>::Item>
fn get(&self, index: usize) -> Option<<ChunkedArray<T> as TakeRandom>::Item>
Get a nullable value by index. Read more
sourceunsafe 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>
Get a value by index and ignore the null bit. Read more
sourceimpl TakeRandom for ChunkedArray<BooleanType>
impl TakeRandom for ChunkedArray<BooleanType>
type Item = bool
sourcefn get(
&self,
index: usize
) -> Option<<ChunkedArray<BooleanType> as TakeRandom>::Item>
fn get(
&self,
index: usize
) -> Option<<ChunkedArray<BooleanType> as TakeRandom>::Item>
Get a nullable value by index. Read more
sourceimpl<'a, T> TakeRandom for &'a ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<'a, T> TakeRandom for &'a ChunkedArray<ObjectType<T>> where
T: PolarsObject,
type Item = &'a T
sourcefn 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>
Get a nullable value by index. Read more
sourceunsafe 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>
Get a value by index and ignore the null bit. Read more
sourceimpl TakeRandom for ChunkedArray<ListType>
impl TakeRandom for ChunkedArray<ListType>
type Item = Series
sourcefn get(
&self,
index: usize
) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
fn get(
&self,
index: usize
) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
Get a nullable value by index. Read more
sourceunsafe 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>
Get a value by index and ignore the null bit. Read more
sourceimpl<'a> TakeRandomUtf8 for &'a ChunkedArray<Utf8Type>
impl<'a> TakeRandomUtf8 for &'a ChunkedArray<Utf8Type>
type Item = &'a str
sourcefn get(
self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
fn get(
self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
Get a nullable value by index. Read more
sourceunsafe 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>
Get a value by index and ignore the null bit. Read more
sourceimpl ToDummies<Float32Type> for ChunkedArray<Float32Type>
impl ToDummies<Float32Type> for ChunkedArray<Float32Type>
fn to_dummies(&self) -> Result<DataFrame, PolarsError>
sourceimpl ToDummies<Float64Type> for ChunkedArray<Float64Type>
impl ToDummies<Float64Type> for ChunkedArray<Float64Type>
fn to_dummies(&self) -> Result<DataFrame, PolarsError>
sourceimpl<T> ToDummies<T> for ChunkedArray<T> where
T: PolarsIntegerType + Sync,
<T as PolarsNumericType>::Native: Hash,
<T as PolarsNumericType>::Native: Eq,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: ChunkCompare<<T as PolarsNumericType>::Native>,
ChunkedArray<T>: ChunkUnique<T>,
impl<T> ToDummies<T> for ChunkedArray<T> where
T: PolarsIntegerType + Sync,
<T as PolarsNumericType>::Native: Hash,
<T as PolarsNumericType>::Native: Eq,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: ChunkCompare<<T as PolarsNumericType>::Native>,
ChunkedArray<T>: ChunkUnique<T>,
fn to_dummies(&self) -> Result<DataFrame, PolarsError>
sourceimpl ToDummies<Utf8Type> for ChunkedArray<Utf8Type>
impl ToDummies<Utf8Type> for ChunkedArray<Utf8Type>
fn to_dummies(&self) -> Result<DataFrame, PolarsError>
sourceimpl Utf8Methods for ChunkedArray<Utf8Type>
impl Utf8Methods for ChunkedArray<Utf8Type>
sourcefn as_time(
&self,
fmt: Option<&str>
) -> Result<Logical<TimeType, Int64Type>, PolarsError>
fn as_time(
&self,
fmt: Option<&str>
) -> Result<Logical<TimeType, Int64Type>, PolarsError>
Parsing string values and return a TimeChunked
sourcefn 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>
Parsing string values and return a DateChunked
Different from as_date
this function allows matches that not contain the whole string
e.g. “foo-2021-01-01-bar” could match “2021-01-01”
sourcefn as_datetime_not_exact(
&self,
fmt: Option<&str>,
tu: TimeUnit
) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
fn as_datetime_not_exact(
&self,
fmt: Option<&str>,
tu: TimeUnit
) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
Parsing string values and return a DatetimeChunked
Different from as_datetime
this function allows matches that not contain the whole string
e.g. “foo-2021-01-01-bar” could match “2021-01-01”
sourcefn as_date(
&self,
fmt: Option<&str>
) -> Result<Logical<DateType, Int32Type>, PolarsError>
fn as_date(
&self,
fmt: Option<&str>
) -> Result<Logical<DateType, Int32Type>, PolarsError>
Parsing string values and return a DateChunked
sourcefn as_datetime(
&self,
fmt: Option<&str>,
tu: TimeUnit
) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
fn as_datetime(
&self,
fmt: Option<&str>,
tu: TimeUnit
) -> Result<Logical<DatetimeType, Int64Type>, PolarsError>
Parsing string values and return a DatetimeChunked
sourceimpl ValueSize for ChunkedArray<ListType>
impl ValueSize for ChunkedArray<ListType>
sourcefn get_values_size(&self) -> usize
fn get_values_size(&self) -> usize
Useful for a Utf8 or a List to get underlying value size. During a rechunk this is handy Read more
sourceimpl ValueSize for ChunkedArray<Utf8Type>
impl ValueSize for ChunkedArray<Utf8Type>
sourcefn get_values_size(&self) -> usize
fn get_values_size(&self) -> usize
Useful for a Utf8 or a List to get underlying value size. During a rechunk this is handy Read more
sourceimpl<T> VarAggSeries for ChunkedArray<T> where
T: PolarsIntegerType,
<<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
impl<T> VarAggSeries for ChunkedArray<T> where
T: PolarsIntegerType,
<<T as PolarsNumericType>::Native as Simd>::Simd: Add<<<T as PolarsNumericType>::Native as Simd>::Simd>,
<<T as PolarsNumericType>::Native as Simd>::Simd: Sum<<T as PolarsNumericType>::Native>,
<<T as PolarsNumericType>::Native as Simd>::Simd: SimdOrd<<T as PolarsNumericType>::Native>,
<<<T as PolarsNumericType>::Native as Simd>::Simd as Add<<<T as PolarsNumericType>::Native as Simd>::Simd>>::Output == <<T as PolarsNumericType>::Native as Simd>::Simd,
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl VarAggSeries for ChunkedArray<Float64Type>
impl VarAggSeries for ChunkedArray<Float64Type>
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl VarAggSeries for ChunkedArray<Float32Type>
impl VarAggSeries for ChunkedArray<Float32Type>
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl VarAggSeries for ChunkedArray<ListType>
impl VarAggSeries for ChunkedArray<ListType>
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl VarAggSeries for ChunkedArray<Utf8Type>
impl VarAggSeries for ChunkedArray<Utf8Type>
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl<T> VarAggSeries for ChunkedArray<ObjectType<T>>
impl<T> VarAggSeries for ChunkedArray<ObjectType<T>>
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl VarAggSeries for ChunkedArray<BooleanType>
impl VarAggSeries for ChunkedArray<BooleanType>
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.
sourceimpl VecHash for ChunkedArray<BooleanType>
impl VecHash for ChunkedArray<BooleanType>
sourceimpl VecHash for ChunkedArray<Float64Type>
impl VecHash for ChunkedArray<Float64Type>
sourceimpl VecHash for ChunkedArray<Utf8Type>
impl VecHash for ChunkedArray<Utf8Type>
sourceimpl VecHash for ChunkedArray<Float32Type>
impl VecHash for ChunkedArray<Float32Type>
sourceimpl<T> VecHash for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Hash,
<T as PolarsNumericType>::Native: CallHasher,
impl<T> VecHash for ChunkedArray<T> where
T: PolarsIntegerType,
<T as PolarsNumericType>::Native: Hash,
<T as PolarsNumericType>::Native: CallHasher,
sourceimpl<T> VecHash for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
impl<T> VecHash for ChunkedArray<ObjectType<T>> where
T: PolarsObject,
sourceimpl ZipOuterJoinColumn for ChunkedArray<BooleanType>
impl ZipOuterJoinColumn for ChunkedArray<BooleanType>
sourceimpl ZipOuterJoinColumn for ChunkedArray<Utf8Type>
impl ZipOuterJoinColumn for ChunkedArray<Utf8Type>
sourceimpl ZipOuterJoinColumn for ChunkedArray<Float32Type>
impl ZipOuterJoinColumn for ChunkedArray<Float32Type>
sourceimpl<T> ZipOuterJoinColumn for ChunkedArray<T> where
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
impl<T> ZipOuterJoinColumn for ChunkedArray<T> where
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
sourceimpl ZipOuterJoinColumn for ChunkedArray<Float64Type>
impl ZipOuterJoinColumn for ChunkedArray<Float64Type>
Auto Trait Implementations
impl<T> !RefUnwindSafe for ChunkedArray<T>
impl<T> Send for ChunkedArray<T> where
T: Send,
impl<T> Sync for ChunkedArray<T> where
T: Sync,
impl<T> Unpin for ChunkedArray<T> where
T: Unpin,
impl<T> !UnwindSafe for ChunkedArray<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more