Struct polars::prelude::ChunkedArray [−][src]
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 te 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.cast::<Float64Type>() .unwrap() .apply(|v| v.cos()) }
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 excelent 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 mutliple 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 the Iterators, arithmetic and other operations.
When multiplying two ChunkArray'
s with different chunk sizes they cannot utilize SIMD for instance.
However, when chunk size don't match, Iterators will be used to do the operation (instead of arrows upstream implementation, which may utilize SIMD) and
the result will be a single chunked array.
The key takeaway is that by applying operations on a ChunkArray
of multiple chunks, the results will converge to
a ChunkArray
of a single chunk! It is recommended to leave them as is. If you want to have predictable performance
(no unexpected re-allocation of memory), it is adviced to call the rechunk after
multiple append operations.
Implementations
impl ChunkedArray<BooleanType>
[src]
pub fn arg_true(&self) -> ChunkedArray<UInt32Type>
[src]
impl ChunkedArray<BooleanType>
[src]
impl ChunkedArray<BooleanType>
[src]
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn to_ndarray(
&self
) -> Result<ArrayBase<ViewRepr<&<T as ArrowPrimitiveType>::Native>, Dim<[usize; 1]>>, PolarsError>
[src]
&self
) -> Result<ArrayBase<ViewRepr<&<T as ArrowPrimitiveType>::Native>, Dim<[usize; 1]>>, PolarsError>
If data is aligned in a single chunk and has no Null values a zero copy view is returned
as an ndarray
impl ChunkedArray<ListType>
[src]
pub fn to_ndarray<N>(
&self
) -> Result<ArrayBase<OwnedRepr<<N as ArrowPrimitiveType>::Native>, Dim<[usize; 2]>>, PolarsError> where
N: PolarsNumericType,
[src]
&self
) -> Result<ArrayBase<OwnedRepr<<N as ArrowPrimitiveType>::Native>, Dim<[usize; 2]>>, PolarsError> where
N: PolarsNumericType,
If all nested Series
have the same length, a 2 dimensional ndarray::Array
is returned.
impl<T> ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]
T: Any + Debug + Clone + Send + Sync + Default,
pub fn new_from_vec(
name: &str,
v: Vec<T, Global>
) -> ChunkedArray<ObjectType<T>>
[src]
name: &str,
v: Vec<T, Global>
) -> ChunkedArray<ObjectType<T>>
impl<T> ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]
T: Any + Debug + Clone + Send + Sync + Default,
pub fn get_as_any(&self, index: usize) -> &(dyn Any + 'static)
[src]
impl<T> ChunkedArray<T> where
ChunkedArray<T>: ChunkTake,
[src]
ChunkedArray<T>: ChunkTake,
pub fn sample_n(
&self,
n: usize,
with_replacement: bool
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
n: usize,
with_replacement: bool
) -> Result<ChunkedArray<T>, PolarsError>
Sample n datapoints from this ChunkedArray.
pub fn sample_frac(
&self,
frac: f64,
with_replacement: bool
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
frac: f64,
with_replacement: bool
) -> Result<ChunkedArray<T>, PolarsError>
Sample a fraction between 0.0-1.0 of this ChunkedArray.
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Float,
<T as ArrowPrimitiveType>::Native: NumCast,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Float,
<T as ArrowPrimitiveType>::Native: NumCast,
pub fn rand_normal(
name: &str,
length: usize,
mean: f64,
std_dev: f64
) -> Result<ChunkedArray<T>, PolarsError>
[src]
name: &str,
length: usize,
mean: f64,
std_dev: f64
) -> Result<ChunkedArray<T>, PolarsError>
Create ChunkedArray
with samples from a Normal distribution.
pub fn rand_standard_normal(name: &str, length: usize) -> ChunkedArray<T>
[src]
Create ChunkedArray
with samples from a Standard Normal distribution.
pub fn rand_uniform(
name: &str,
length: usize,
low: f64,
high: f64
) -> ChunkedArray<T>
[src]
name: &str,
length: usize,
low: f64,
high: f64
) -> ChunkedArray<T>
Create ChunkedArray
with samples from a Uniform distribution.
impl ChunkedArray<BooleanType>
[src]
pub fn rand_bernoulli(
name: &str,
length: usize,
p: f64
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
name: &str,
length: usize,
p: f64
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Create ChunkedArray
with samples from a Bernoulli distribution.
impl ChunkedArray<Utf8Type>
[src]
pub fn str_lengths(&self) -> ChunkedArray<UInt32Type>
[src]
Get the length of the string values.
pub fn contains(
&self,
pat: &str
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
pat: &str
) -> Result<ChunkedArray<BooleanType>, PolarsError>
Check if strings contain a regex pattern
pub fn replace(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Replace the leftmost (sub)string by a regex pattern
pub fn replace_all(
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
pat: &str,
val: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Replace all (sub)strings by a regex pattern
pub fn to_lowercase(&self) -> ChunkedArray<Utf8Type>
[src]
Modify the strings to their lowercase equivalent
pub fn to_uppercase(&self) -> ChunkedArray<Utf8Type>
[src]
Modify the strings to their uppercase equivalent
pub fn concat(&self, other: &ChunkedArray<Utf8Type>) -> ChunkedArray<Utf8Type>
[src]
Concat with the values from a second Utf8Chunked
impl ChunkedArray<Utf8Type>
[src]
pub fn as_date32(
&self,
fmt: Option<&str>
) -> Result<ChunkedArray<Date32Type>, PolarsError>
[src]
&self,
fmt: Option<&str>
) -> Result<ChunkedArray<Date32Type>, PolarsError>
pub fn as_date64(
&self,
fmt: Option<&str>
) -> Result<ChunkedArray<Date64Type>, PolarsError>
[src]
&self,
fmt: Option<&str>
) -> Result<ChunkedArray<Date64Type>, PolarsError>
impl ChunkedArray<Date64Type>
[src]
pub fn year(&self) -> ChunkedArray<Int32Type>
[src]
Extract month from underlying NaiveDateTime representation. Returns the year number in the calendar date.
pub fn month(&self) -> ChunkedArray<UInt32Type>
[src]
Extract month from underlying NaiveDateTime representation. Returns the month number starting from 1.
The return value ranges from 1 to 12.
pub fn day(&self) -> ChunkedArray<UInt32Type>
[src]
Extract day from underlying NaiveDateTime representation. Returns the day of month starting from 1.
The return value ranges from 1 to 31. (The last day of month differs by months.)
pub fn hour(&self) -> ChunkedArray<UInt32Type>
[src]
Extract hour from underlying NaiveDateTime representation. Returns the hour number from 0 to 23.
pub fn minute(&self) -> ChunkedArray<UInt32Type>
[src]
Extract minute from underlying NaiveDateTime representation. Returns the minute number from 0 to 59.
pub fn second(&self) -> ChunkedArray<UInt32Type>
[src]
Extract second from underlying NaiveDateTime representation. Returns the second number from 0 to 59.
pub fn nanosecond(&self) -> ChunkedArray<UInt32Type>
[src]
Extract second from underlying NaiveDateTime representation. Returns the number of nanoseconds since the whole non-leap second. The range from 1,000,000,000 to 1,999,999,999 represents the leap second.
pub fn ordinal(&self) -> ChunkedArray<UInt32Type>
[src]
Returns the day of year starting from 1.
The return value ranges from 1 to 366. (The last day of year differs by years.)
pub fn str_fmt(&self, fmt: &str) -> ChunkedArray<Utf8Type>
[src]
Format Date64 with a fmt
rule. See chrono strftime/strptime.
impl ChunkedArray<Date32Type>
[src]
pub fn year(&self) -> ChunkedArray<Int32Type>
[src]
Extract month from underlying NaiveDateTime representation. Returns the year number in the calendar date.
pub fn month(&self) -> ChunkedArray<UInt32Type>
[src]
Extract month from underlying NaiveDateTime representation. Returns the month number starting from 1.
The return value ranges from 1 to 12.
pub fn day(&self) -> ChunkedArray<UInt32Type>
[src]
Extract day from underlying NaiveDateTime representation. Returns the day of month starting from 1.
The return value ranges from 1 to 31. (The last day of month differs by months.)
pub fn ordinal(&self) -> ChunkedArray<UInt32Type>
[src]
Returns the day of year starting from 1.
The return value ranges from 1 to 366. (The last day of year differs by years.)
pub fn str_fmt(&self, fmt: &str) -> ChunkedArray<Utf8Type>
[src]
Format Date32 with a fmt
rule. See chrono strftime/strptime.
impl<T> ChunkedArray<T>
[src]
pub fn array_data(&self) -> Vec<Arc<ArrayData>, Global>
[src]
Get Arrow ArrayData
pub fn get_categorical_map(
&self
) -> Option<&Arc<AHashMap<u32, String, RandomState>>>
[src]
&self
) -> Option<&Arc<AHashMap<u32, String, RandomState>>>
Get a reference to the mapping of categorical types to the string values.
pub fn first_non_null(&self) -> Option<usize>
[src]
Get the index of the first non null value in this ChunkedArray.
pub fn null_bits(&self) -> Vec<(usize, Option<Buffer>), Global>
[src]
Get the null count and the buffer of bits representing null values
pub fn unpack_series_matching_type(
&self,
series: &Series
) -> Result<&ChunkedArray<T>, PolarsError>
[src]
&self,
series: &Series
) -> Result<&ChunkedArray<T>, PolarsError>
Series to ChunkedArray
pub fn len(&self) -> usize
[src]
Combined length of all the chunks.
pub fn is_empty(&self) -> bool
[src]
Check if ChunkedArray is empty.
pub fn chunk_id(&self) -> &Vec<usize, Global>
[src]
Unique id representing the number of chunks
pub fn chunks(&self) -> &Vec<Arc<dyn Array + 'static>, Global>
[src]
A reference to the chunks
pub fn is_optimal_aligned(&self) -> bool
[src]
Returns true if contains a single chunk and has no null values
pub fn null_count(&self) -> usize
[src]
Count the null values.
pub fn limit(&self, num_elements: usize) -> Result<ChunkedArray<T>, PolarsError>
[src]
Take a view of top n elements
pub fn append_array(
&mut self,
other: Arc<dyn Array + 'static>
) -> Result<(), PolarsError>
[src]
&mut self,
other: Arc<dyn Array + 'static>
) -> Result<(), PolarsError>
Append arrow array in place.
let mut array = Int32Chunked::new_from_slice("array", &[1, 2]); let array_2 = Int32Chunked::new_from_slice("2nd", &[3]); array.append(&array_2); assert_eq!(Vec::from(&array), [Some(1), Some(2), Some(3)])
pub fn slice(
&self,
offset: usize,
length: usize
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
offset: usize,
length: usize
) -> Result<ChunkedArray<T>, PolarsError>
Slice the array. The chunks are reallocated the underlying data slices are zero copy.
pub fn is_null(&self) -> ChunkedArray<BooleanType>
[src]
Get a mask of the null values.
pub fn is_not_null(&self) -> ChunkedArray<BooleanType>
[src]
Get a mask of the null values.
pub fn dtype(&self) -> &DataType
[src]
Get data type of ChunkedArray.
pub fn head(&self, length: Option<usize>) -> ChunkedArray<T>
[src]
Get the head of the ChunkedArray
pub fn tail(&self, length: Option<usize>) -> ChunkedArray<T>
[src]
Get the tail of the ChunkedArray
pub fn append(&mut self, other: &ChunkedArray<T>) where
ChunkedArray<T>: Sized,
[src]
ChunkedArray<T>: Sized,
Append in place.
pub fn name(&self) -> &str
[src]
Name of the ChunkedArray.
pub fn ref_field(&self) -> &Field
[src]
Get a reference to the field.
pub fn rename(&mut self, name: &str)
[src]
Rename this ChunkedArray.
impl<T> ChunkedArray<T> where
T: PolarsDataType,
[src]
T: PolarsDataType,
pub fn new_from_chunks(
name: &str,
chunks: Vec<Arc<dyn Array + 'static>, Global>
) -> ChunkedArray<T>
[src]
name: &str,
chunks: Vec<Arc<dyn Array + 'static>, Global>
) -> ChunkedArray<T>
Create a new ChunkedArray from existing chunks.
impl<T> ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
pub fn new_from_aligned_vec(
name: &str,
v: AlignedVec<<T as ArrowPrimitiveType>::Native>
) -> ChunkedArray<T>
[src]
name: &str,
v: AlignedVec<<T as ArrowPrimitiveType>::Native>
) -> ChunkedArray<T>
Create a new ChunkedArray by taking ownership of the AlignedVec. This operation is zero copy.
pub fn new_with_null_bitmap(
name: &str,
values: &[<T as ArrowPrimitiveType>::Native],
buffer: Option<Buffer>,
null_count: usize
) -> ChunkedArray<T>
[src]
name: &str,
values: &[<T as ArrowPrimitiveType>::Native],
buffer: Option<Buffer>,
null_count: usize
) -> ChunkedArray<T>
Nullify values in slice with an existing null bitmap
pub fn new_from_owned_with_null_bitmap(
name: &str,
values: AlignedVec<<T as ArrowPrimitiveType>::Native>,
buffer: Option<Buffer>,
null_count: usize
) -> ChunkedArray<T>
[src]
name: &str,
values: AlignedVec<<T as ArrowPrimitiveType>::Native>,
buffer: Option<Buffer>,
null_count: usize
) -> ChunkedArray<T>
Nullify values in slice with an existing null bitmap
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn cont_slice(
&self
) -> Result<&[<T as ArrowPrimitiveType>::Native], PolarsError>
[src]
&self
) -> Result<&[<T as ArrowPrimitiveType>::Native], PolarsError>
Contiguous slice
pub fn data_views(&self) -> Vec<&[<T as ArrowPrimitiveType>::Native], Global>
[src]
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 map<B, F>(
&self,
f: F
) -> Result<Map<Copied<Iter<'_, <T as ArrowPrimitiveType>::Native>>, F>, PolarsError> where
F: Fn(<T as ArrowPrimitiveType>::Native) -> B,
[src]
&self,
f: F
) -> Result<Map<Copied<Iter<'_, <T as ArrowPrimitiveType>::Native>>, F>, PolarsError> where
F: Fn(<T as ArrowPrimitiveType>::Native) -> B,
If cont_slice is successful a closure is mapped over the elements.
Example
use polars_core::prelude::*; fn multiply(ca: &UInt32Chunked) -> Result<Series> { let mapped = ca.map(|v| v * 2)?; Ok(mapped.collect()) }
pub fn map_null_checks<B, F>(
&'a self,
f: F
) -> Map<Box<dyn PolarsIterator<Item = Option<<T as ArrowPrimitiveType>::Native>> + 'a, Global>, F> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> B,
[src]
&'a self,
f: F
) -> Map<Box<dyn PolarsIterator<Item = Option<<T as ArrowPrimitiveType>::Native>> + 'a, Global>, F> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> B,
If cont_slice fails we can fallback on an iterator with null checks and map a closure over the elements.
Example
use polars_core::prelude::*; use itertools::Itertools; fn multiply(ca: &UInt32Chunked) -> Series { let mapped_result = ca.map(|v| v * 2); if let Ok(mapped) = mapped_result { mapped.collect() } else { ca .map_null_checks(|opt_v| opt_v.map(|v |v * 2)).collect() } }
pub fn fold<F, B>(&self, init: B, f: F) -> Result<B, PolarsError> where
F: Fn(B, <T as ArrowPrimitiveType>::Native) -> B,
[src]
F: Fn(B, <T as ArrowPrimitiveType>::Native) -> B,
If cont_slice is successful a closure can be applied as aggregation
Example
use polars_core::prelude::*; fn compute_sum(ca: &UInt32Chunked) -> Result<u32> { ca.fold(0, |acc, value| acc + value) }
pub fn fold_null_checks<F, B>(&self, init: B, f: F) -> B where
F: Fn(B, Option<<T as ArrowPrimitiveType>::Native>) -> B,
[src]
F: Fn(B, Option<<T as ArrowPrimitiveType>::Native>) -> B,
If cont_slice fails we can fallback on an iterator with null checks and a closure for aggregation
Example
use polars_core::prelude::*; fn compute_sum(ca: &UInt32Chunked) -> u32 { match ca.fold(0, |acc, value| acc + value) { // faster sum without null checks was successful Ok(sum) => sum, // Null values or multiple chunks in ChunkedArray, we need to do more bounds checking Err(_) => ca.fold_null_checks(0, |acc, opt_value| { match opt_value { Some(v) => acc + v, None => acc } }) } }
Trait Implementations
impl<'_, T> Add<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the +
operator.
pub fn add(
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Add<&'_ ChunkedArray<T>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Add<&'_ ChunkedArray<T>>>::Output
impl<'_> Add<&'_ ChunkedArray<Utf8Type>> for &'_ ChunkedArray<Utf8Type>
[src]
type Output = ChunkedArray<Utf8Type>
The resulting type after applying the +
operator.
pub fn add(
self,
rhs: &'_ ChunkedArray<Utf8Type>
) -> <&'_ ChunkedArray<Utf8Type> as Add<&'_ ChunkedArray<Utf8Type>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<Utf8Type>
) -> <&'_ ChunkedArray<Utf8Type> as Add<&'_ ChunkedArray<Utf8Type>>>::Output
impl<'_, '_> Add<&'_ str> for &'_ ChunkedArray<Utf8Type>
[src]
type Output = ChunkedArray<Utf8Type>
The resulting type after applying the +
operator.
pub fn add(
self,
rhs: &str
) -> <&'_ ChunkedArray<Utf8Type> as Add<&'_ str>>::Output
[src]
self,
rhs: &str
) -> <&'_ ChunkedArray<Utf8Type> as Add<&'_ str>>::Output
impl<T> Add<ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the +
operator.
pub fn add(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Add<ChunkedArray<T>>>::Output
[src]
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Add<ChunkedArray<T>>>::Output
impl Add<ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
[src]
type Output = ChunkedArray<Utf8Type>
The resulting type after applying the +
operator.
pub fn add(
self,
rhs: ChunkedArray<Utf8Type>
) -> <ChunkedArray<Utf8Type> as Add<ChunkedArray<Utf8Type>>>::Output
[src]
self,
rhs: ChunkedArray<Utf8Type>
) -> <ChunkedArray<Utf8Type> as Add<ChunkedArray<Utf8Type>>>::Output
impl<'_, T, N> Add<N> for &'_ ChunkedArray<T> where
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the +
operator.
pub fn add(self, rhs: N) -> <&'_ ChunkedArray<T> as Add<N>>::Output
[src]
impl AsDuration<DurationMillisecondType> for ChunkedArray<Date64Type>
[src]
pub fn as_duration(&self) -> ChunkedArray<DurationMillisecondType>
[src]
impl AsDuration<DurationMillisecondType> for ChunkedArray<Date32Type>
[src]
pub fn as_duration(&self) -> ChunkedArray<DurationMillisecondType>
[src]
impl AsNaiveDate for ChunkedArray<Date32Type>
[src]
pub fn as_naive_date_iter(
&'a self
) -> Box<dyn Iterator<Item = Option<NaiveDate>> + 'a, Global>
[src]
&'a self
) -> Box<dyn Iterator<Item = Option<NaiveDate>> + 'a, Global>
impl AsNaiveDateTime for ChunkedArray<Date64Type>
[src]
pub fn as_naive_datetime_iter(
&'a self
) -> Box<dyn Iterator<Item = Option<NaiveDateTime>> + 'a, Global>
[src]
&'a self
) -> Box<dyn Iterator<Item = Option<NaiveDateTime>> + 'a, Global>
impl AsNaiveDateTime for ChunkedArray<Date32Type>
[src]
pub fn as_naive_datetime_iter(
&'a self
) -> Box<dyn Iterator<Item = Option<NaiveDateTime>> + 'a, Global>
[src]
&'a self
) -> Box<dyn Iterator<Item = Option<NaiveDateTime>> + 'a, Global>
impl AsNaiveTime for ChunkedArray<Time64NanosecondType>
[src]
impl<T> AsRef<ChunkedArray<T>> for ChunkedArray<T>
[src]
pub fn as_ref(&self) -> &ChunkedArray<T>
[src]
impl<'a, T> AsRef<ChunkedArray<T>> for dyn SeriesTrait + 'a where
T: 'static + PolarsDataType,
[src]
T: 'static + PolarsDataType,
pub fn as_ref(&self) -> &ChunkedArray<T>
[src]
impl<'_> AsTakeIndex for &'_ ChunkedArray<UInt32Type>
[src]
pub fn as_take_iter(&'a self) -> Box<dyn Iterator<Item = usize> + 'a, Global>
[src]
pub fn as_opt_take_iter(
&'a self
) -> Box<dyn Iterator<Item = Option<usize>> + 'a, Global>
[src]
&'a self
) -> Box<dyn Iterator<Item = Option<usize>> + 'a, Global>
pub fn take_index_len(&self) -> usize
[src]
impl<'_> BitAnd<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
[src]
type Output = ChunkedArray<BooleanType>
The resulting type after applying the &
operator.
pub fn bitand(
self,
rhs: &'_ ChunkedArray<BooleanType>
) -> <&'_ ChunkedArray<BooleanType> as BitAnd<&'_ ChunkedArray<BooleanType>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<BooleanType>
) -> <&'_ ChunkedArray<BooleanType> as BitAnd<&'_ ChunkedArray<BooleanType>>>::Output
impl BitAnd<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
[src]
type Output = ChunkedArray<BooleanType>
The resulting type after applying the &
operator.
pub fn bitand(
self,
rhs: ChunkedArray<BooleanType>
) -> <ChunkedArray<BooleanType> as BitAnd<ChunkedArray<BooleanType>>>::Output
[src]
self,
rhs: ChunkedArray<BooleanType>
) -> <ChunkedArray<BooleanType> as BitAnd<ChunkedArray<BooleanType>>>::Output
impl<'_> BitOr<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
[src]
type Output = ChunkedArray<BooleanType>
The resulting type after applying the |
operator.
pub fn bitor(
self,
rhs: &'_ ChunkedArray<BooleanType>
) -> <&'_ ChunkedArray<BooleanType> as BitOr<&'_ ChunkedArray<BooleanType>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<BooleanType>
) -> <&'_ ChunkedArray<BooleanType> as BitOr<&'_ ChunkedArray<BooleanType>>>::Output
impl BitOr<ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
[src]
type Output = ChunkedArray<BooleanType>
The resulting type after applying the |
operator.
pub fn bitor(
self,
rhs: ChunkedArray<BooleanType>
) -> <ChunkedArray<BooleanType> as BitOr<ChunkedArray<BooleanType>>>::Output
[src]
self,
rhs: ChunkedArray<BooleanType>
) -> <ChunkedArray<BooleanType> as BitOr<ChunkedArray<BooleanType>>>::Output
impl<T> ChunkAgg<<T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Zero,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Zero,
pub fn sum(&self) -> Option<<T as ArrowPrimitiveType>::Native>
[src]
pub fn min(&self) -> Option<<T as ArrowPrimitiveType>::Native>
[src]
pub fn max(&self) -> Option<<T as ArrowPrimitiveType>::Native>
[src]
pub fn mean(&self) -> Option<<T as ArrowPrimitiveType>::Native>
[src]
pub fn median(&self) -> Option<<T as ArrowPrimitiveType>::Native>
[src]
pub fn quantile(
&self,
quantile: f64
) -> Result<Option<<T as ArrowPrimitiveType>::Native>, PolarsError>
[src]
&self,
quantile: f64
) -> Result<Option<<T as ArrowPrimitiveType>::Native>, PolarsError>
impl ChunkAgg<u32> for ChunkedArray<BooleanType>
[src]
Booleans are casted to 1 or 0.
pub fn sum(&self) -> Option<u32>
[src]
Returns None
if the array is empty or only contains null values.
pub fn min(&self) -> Option<u32>
[src]
pub fn max(&self) -> Option<u32>
[src]
pub fn mean(&self) -> Option<u32>
[src]
pub fn median(&self) -> Option<u32>
[src]
pub fn quantile(&self, quantile: f64) -> Result<Option<u32>, PolarsError>
[src]
impl<'a> ChunkApply<'a, &'a str, String> for ChunkedArray<Utf8Type>
[src]
pub fn apply<F>(&'a self, f: F) -> ChunkedArray<Utf8Type> where
F: Fn(&'a str) -> String + Copy,
[src]
F: Fn(&'a str) -> String + Copy,
pub fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<Utf8Type> where
F: Fn((usize, &'a str)) -> String + Copy,
[src]
F: Fn((usize, &'a str)) -> String + Copy,
pub fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<Utf8Type> where
F: Fn((usize, Option<&'a str>)) -> Option<String> + Copy,
[src]
F: Fn((usize, Option<&'a str>)) -> Option<String> + Copy,
impl<'a, T> ChunkApply<'a, <T as ArrowPrimitiveType>::Native, <T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn apply<F>(&'a self, f: F) -> ChunkedArray<T> where
F: Fn(<T as ArrowPrimitiveType>::Native) -> <T as ArrowPrimitiveType>::Native + Copy,
[src]
F: Fn(<T as ArrowPrimitiveType>::Native) -> <T as ArrowPrimitiveType>::Native + Copy,
Chooses the fastest path for closure application. Null values remain null.
Example
use polars_core::prelude::*; fn double(ca: &UInt32Chunked) -> UInt32Chunked { ca.apply(|v| v * 2) }
pub fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<T> where
F: Fn((usize, <T as ArrowPrimitiveType>::Native)) -> <T as ArrowPrimitiveType>::Native + Copy,
[src]
F: Fn((usize, <T as ArrowPrimitiveType>::Native)) -> <T as ArrowPrimitiveType>::Native + Copy,
pub fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<T> where
F: Fn((usize, Option<<T as ArrowPrimitiveType>::Native>)) -> Option<<T as ArrowPrimitiveType>::Native> + Copy,
[src]
F: Fn((usize, Option<<T as ArrowPrimitiveType>::Native>)) -> Option<<T as ArrowPrimitiveType>::Native> + Copy,
impl<'a> ChunkApply<'a, Series, Series> for ChunkedArray<ListType>
[src]
pub fn apply<F>(&'a self, f: F) -> ChunkedArray<ListType> where
F: Fn(Series) -> Series + Copy,
[src]
F: Fn(Series) -> Series + Copy,
Apply a closure F
elementwise.
pub fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<ListType> where
F: Fn((usize, Series)) -> Series + Copy,
[src]
F: Fn((usize, Series)) -> Series + Copy,
Apply a closure elementwise. The closure gets the index of the element as first argument.
pub fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<ListType> where
F: Fn((usize, Option<Series>)) -> Option<Series> + Copy,
[src]
F: Fn((usize, Option<Series>)) -> Option<Series> + Copy,
Apply a closure elementwise. The closure gets the index of the element as first argument.
impl<'a> ChunkApply<'a, bool, bool> for ChunkedArray<BooleanType>
[src]
pub fn apply<F>(&self, f: F) -> ChunkedArray<BooleanType> where
F: Fn(bool) -> bool + Copy,
[src]
F: Fn(bool) -> bool + Copy,
pub fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<BooleanType> where
F: Fn((usize, bool)) -> bool + Copy,
[src]
F: Fn((usize, bool)) -> bool + Copy,
pub fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<BooleanType> where
F: Fn((usize, Option<bool>)) -> Option<bool> + Copy,
[src]
F: Fn((usize, Option<bool>)) -> Option<bool> + Copy,
impl ChunkApplyKernel<GenericStringArray<i64>> for ChunkedArray<Utf8Type>
[src]
pub fn apply_kernel<F>(&self, f: F) -> ChunkedArray<Utf8Type> where
F: Fn(&GenericStringArray<i64>) -> Arc<dyn Array + 'static>,
[src]
F: Fn(&GenericStringArray<i64>) -> Arc<dyn Array + 'static>,
pub fn apply_kernel_cast<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(&GenericStringArray<i64>) -> Arc<dyn Array + 'static>,
S: PolarsDataType,
[src]
F: Fn(&GenericStringArray<i64>) -> Arc<dyn Array + 'static>,
S: PolarsDataType,
impl<T> ChunkApplyKernel<PrimitiveArray<T>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
pub fn apply_kernel<F>(&self, f: F) -> ChunkedArray<T> where
F: Fn(&PrimitiveArray<T>) -> Arc<dyn Array + 'static>,
[src]
F: Fn(&PrimitiveArray<T>) -> Arc<dyn Array + 'static>,
pub fn apply_kernel_cast<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(&PrimitiveArray<T>) -> Arc<dyn Array + 'static>,
S: PolarsDataType,
[src]
F: Fn(&PrimitiveArray<T>) -> Arc<dyn Array + 'static>,
S: PolarsDataType,
impl ChunkCast for ChunkedArray<BooleanType>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCast for ChunkedArray<CategoricalType>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCast for ChunkedArray<ListType>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCast for ChunkedArray<Utf8Type>
[src]
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl<T> ChunkCast for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl<'_> ChunkCompare<&'_ ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
[src]
pub fn eq_missing(
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
[src]
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
pub fn eq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
[src]
pub fn neq(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
[src]
pub fn gt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq(
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
[src]
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
pub fn lt(&self, rhs: &ChunkedArray<BooleanType>) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq(
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
[src]
&self,
rhs: &ChunkedArray<BooleanType>
) -> ChunkedArray<BooleanType>
impl<'_> ChunkCompare<&'_ ChunkedArray<ListType>> for ChunkedArray<ListType>
[src]
pub fn eq_missing(
&self,
rhs: &ChunkedArray<ListType>
) -> ChunkedArray<BooleanType>
[src]
&self,
rhs: &ChunkedArray<ListType>
) -> ChunkedArray<BooleanType>
pub fn eq(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
[src]
pub fn neq(&self, rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
[src]
pub fn gt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
[src]
pub fn lt(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq(&self, _rhs: &ChunkedArray<ListType>) -> ChunkedArray<BooleanType>
[src]
impl<'_, T> ChunkCompare<&'_ ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: NumComp,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: NumComp,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
pub fn eq_missing(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
[src]
pub fn eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
[src]
pub fn neq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
[src]
pub fn gt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
[src]
pub fn lt(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq(&self, rhs: &ChunkedArray<T>) -> ChunkedArray<BooleanType>
[src]
impl<'_> ChunkCompare<&'_ ChunkedArray<Utf8Type>> for ChunkedArray<Utf8Type>
[src]
pub fn eq_missing(
&self,
rhs: &ChunkedArray<Utf8Type>
) -> ChunkedArray<BooleanType>
[src]
&self,
rhs: &ChunkedArray<Utf8Type>
) -> ChunkedArray<BooleanType>
pub fn eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
[src]
pub fn neq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
[src]
pub fn gt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
[src]
pub fn lt(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq(&self, rhs: &ChunkedArray<Utf8Type>) -> ChunkedArray<BooleanType>
[src]
impl<'_> ChunkCompare<&'_ str> for ChunkedArray<Utf8Type>
[src]
pub fn eq_missing(&self, rhs: &str) -> ChunkedArray<BooleanType>
[src]
pub fn eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
[src]
pub fn neq(&self, rhs: &str) -> ChunkedArray<BooleanType>
[src]
pub fn gt(&self, rhs: &str) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
[src]
pub fn lt(&self, rhs: &str) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq(&self, rhs: &str) -> ChunkedArray<BooleanType>
[src]
impl<T, Rhs> ChunkCompare<Rhs> for ChunkedArray<T> where
T: PolarsNumericType,
Rhs: NumComp + ToPrimitive,
<T as ArrowPrimitiveType>::Native: NumCast,
[src]
T: PolarsNumericType,
Rhs: NumComp + ToPrimitive,
<T as ArrowPrimitiveType>::Native: NumCast,
pub fn eq_missing(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
[src]
pub fn eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
[src]
pub fn neq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
[src]
pub fn gt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
[src]
pub fn lt(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq(&self, rhs: Rhs) -> ChunkedArray<BooleanType>
[src]
impl ChunkCumAgg<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn cum_max(&self, reverse: bool) -> ChunkedArray<BooleanType>
[src]
pub fn cum_min(&self, reverse: bool) -> ChunkedArray<BooleanType>
[src]
pub fn cum_sum(&self, _reverse: bool) -> ChunkedArray<T>
[src]
impl ChunkCumAgg<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn cum_max(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_min(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_sum(&self, _reverse: bool) -> ChunkedArray<T>
[src]
impl ChunkCumAgg<ListType> for ChunkedArray<ListType>
[src]
pub fn cum_max(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_min(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_sum(&self, _reverse: bool) -> ChunkedArray<T>
[src]
impl<T> ChunkCumAgg<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn cum_max(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_min(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_sum(&self, _reverse: bool) -> ChunkedArray<T>
[src]
impl<T> ChunkCumAgg<T> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Bounded,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: AddAssign<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: FromIterator<Option<<T as ArrowPrimitiveType>::Native>>,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Bounded,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: AddAssign<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: FromIterator<Option<<T as ArrowPrimitiveType>::Native>>,
pub fn cum_max(&self, reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_min(&self, reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_sum(&self, reverse: bool) -> ChunkedArray<T>
[src]
impl ChunkCumAgg<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn cum_max(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_min(&self, _reverse: bool) -> ChunkedArray<T>
[src]
pub fn cum_sum(&self, _reverse: bool) -> ChunkedArray<T>
[src]
impl ChunkExpandAtIndex<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<BooleanType>
[src]
&self,
index: usize,
length: usize
) -> ChunkedArray<BooleanType>
impl ChunkExpandAtIndex<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<CategoricalType>
[src]
&self,
index: usize,
length: usize
) -> ChunkedArray<CategoricalType>
impl ChunkExpandAtIndex<ListType> for ChunkedArray<ListType>
[src]
pub fn expand_at_index(
&self,
_index: usize,
_length: usize
) -> ChunkedArray<ListType>
[src]
&self,
_index: usize,
_length: usize
) -> ChunkedArray<ListType>
impl<T> ChunkExpandAtIndex<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn expand_at_index(
&self,
_index: usize,
_length: usize
) -> ChunkedArray<ObjectType<T>>
[src]
&self,
_index: usize,
_length: usize
) -> ChunkedArray<ObjectType<T>>
impl<T> ChunkExpandAtIndex<T> for ChunkedArray<T> where
T: PolarsPrimitiveType,
ChunkedArray<T>: ChunkFull<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: TakeRandom,
<ChunkedArray<T> as TakeRandom>::Item == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsPrimitiveType,
ChunkedArray<T>: ChunkFull<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: TakeRandom,
<ChunkedArray<T> as TakeRandom>::Item == <T as ArrowPrimitiveType>::Native,
pub fn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<T>
[src]
impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn expand_at_index(
&self,
index: usize,
length: usize
) -> ChunkedArray<Utf8Type>
[src]
&self,
index: usize,
length: usize
) -> ChunkedArray<Utf8Type>
impl ChunkExplode for ChunkedArray<ListType>
[src]
pub fn explode_and_offsets(&self) -> Result<(Series, &[i64]), PolarsError>
[src]
pub fn explode(&self) -> Result<Series, PolarsError>
[src]
impl ChunkExplode for ChunkedArray<Utf8Type>
[src]
pub fn explode_and_offsets(&self) -> Result<(Series, &[i64]), PolarsError>
[src]
pub fn explode(&self) -> Result<Series, PolarsError>
[src]
impl<T> ChunkFillNone for ChunkedArray<ObjectType<T>>
[src]
pub fn fill_none(
&self,
_strategy: FillNoneStrategy
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
&self,
_strategy: FillNoneStrategy
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
impl ChunkFillNone for ChunkedArray<BooleanType>
[src]
pub fn fill_none(
&self,
strategy: FillNoneStrategy
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
strategy: FillNoneStrategy
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl ChunkFillNone for ChunkedArray<CategoricalType>
[src]
pub fn fill_none(
&self,
_strategy: FillNoneStrategy
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
[src]
&self,
_strategy: FillNoneStrategy
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
impl ChunkFillNone for ChunkedArray<Utf8Type>
[src]
pub fn fill_none(
&self,
strategy: FillNoneStrategy
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
strategy: FillNoneStrategy
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
impl ChunkFillNone for ChunkedArray<ListType>
[src]
pub fn fill_none(
&self,
_strategy: FillNoneStrategy
) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
&self,
_strategy: FillNoneStrategy
) -> Result<ChunkedArray<ListType>, PolarsError>
impl<T> ChunkFillNone for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
pub fn fill_none(
&self,
strategy: FillNoneStrategy
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
strategy: FillNoneStrategy
) -> Result<ChunkedArray<T>, PolarsError>
impl<'_> ChunkFillNoneValue<&'_ Series> for ChunkedArray<ListType>
[src]
pub fn fill_none_with_value(
&self,
_value: &Series
) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
&self,
_value: &Series
) -> Result<ChunkedArray<ListType>, PolarsError>
impl<'_> ChunkFillNoneValue<&'_ str> for ChunkedArray<Utf8Type>
[src]
pub fn fill_none_with_value(
&self,
value: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
value: &str
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
impl<T> ChunkFillNoneValue<<T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
pub fn fill_none_with_value(
&self,
value: <T as ArrowPrimitiveType>::Native
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
value: <T as ArrowPrimitiveType>::Native
) -> Result<ChunkedArray<T>, PolarsError>
impl<T> ChunkFillNoneValue<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn fill_none_with_value(
&self,
_value: ObjectType<T>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
&self,
_value: ObjectType<T>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
impl ChunkFillNoneValue<bool> for ChunkedArray<BooleanType>
[src]
pub fn fill_none_with_value(
&self,
value: bool
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
value: bool
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl ChunkFilter<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl ChunkFilter<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<CategoricalType>, PolarsError> where
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<CategoricalType>, PolarsError> where
ChunkedArray<CategoricalType>: Sized,
impl ChunkFilter<ListType> for ChunkedArray<ListType>
[src]
pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ListType>, PolarsError>
impl<T> ChunkFilter<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
T: 'static + Debug + Clone + Send + Sync + Default,
pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError> where
ChunkedArray<ObjectType<T>>: Sized,
[src]
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError> where
ChunkedArray<ObjectType<T>>: Sized,
impl<T> ChunkFilter<T> for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkOps,
[src]
T: PolarsNumericType,
ChunkedArray<T>: ChunkOps,
pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<T>, PolarsError>
impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
impl<'_> ChunkFull<&'_ (dyn SeriesTrait + '_)> for ChunkedArray<ListType>
[src]
pub fn full(
_name: &str,
_value: &dyn SeriesTrait,
_length: usize
) -> ChunkedArray<ListType>
[src]
_name: &str,
_value: &dyn SeriesTrait,
_length: usize
) -> ChunkedArray<ListType>
impl<'a> ChunkFull<&'a str> for ChunkedArray<Utf8Type>
[src]
impl<T> ChunkFull<<T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
pub fn full(
name: &str,
value: <T as ArrowPrimitiveType>::Native,
length: usize
) -> ChunkedArray<T> where
<T as ArrowPrimitiveType>::Native: Copy,
[src]
name: &str,
value: <T as ArrowPrimitiveType>::Native,
length: usize
) -> ChunkedArray<T> where
<T as ArrowPrimitiveType>::Native: Copy,
impl ChunkFull<bool> for ChunkedArray<BooleanType>
[src]
pub fn full(name: &str, value: bool, length: usize) -> ChunkedArray<BooleanType>
[src]
impl<T> ChunkFullNull for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
pub fn full_null(name: &str, length: usize) -> ChunkedArray<T>
[src]
impl ChunkFullNull for ChunkedArray<ListType>
[src]
impl ChunkFullNull for ChunkedArray<BooleanType>
[src]
pub fn full_null(name: &str, length: usize) -> ChunkedArray<BooleanType>
[src]
impl ChunkFullNull for ChunkedArray<Utf8Type>
[src]
impl<T> ChunkIntegerDecode for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: IntegerDecode,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: IntegerDecode,
pub fn integer_decode(
&self
) -> (ChunkedArray<UInt64Type>, ChunkedArray<Int16Type>, ChunkedArray<Int8Type>)
[src]
&self
) -> (ChunkedArray<UInt64Type>, ChunkedArray<Int16Type>, ChunkedArray<Int8Type>)
impl<T> ChunkOps for ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn rechunk(&self) -> Result<ChunkedArray<T>, PolarsError>
[src]
impl<T> ChunkOps for ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]
T: Any + Debug + Clone + Send + Sync + Default,
pub fn rechunk(&self) -> Result<ChunkedArray<ObjectType<T>>, PolarsError> where
ChunkedArray<ObjectType<T>>: Sized,
[src]
ChunkedArray<ObjectType<T>>: Sized,
impl ChunkOps for ChunkedArray<CategoricalType>
[src]
pub fn rechunk(&self) -> Result<ChunkedArray<CategoricalType>, PolarsError> where
ChunkedArray<CategoricalType>: Sized,
[src]
ChunkedArray<CategoricalType>: Sized,
impl ChunkOps for ChunkedArray<ListType>
[src]
pub fn rechunk(&self) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
impl ChunkOps for ChunkedArray<Utf8Type>
[src]
pub fn rechunk(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
impl ChunkOps for ChunkedArray<BooleanType>
[src]
pub fn rechunk(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn reverse(&self) -> ChunkedArray<BooleanType>
[src]
impl ChunkReverse<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn reverse(&self) -> ChunkedArray<CategoricalType>
[src]
impl ChunkReverse<ListType> for ChunkedArray<ListType>
[src]
pub fn reverse(&self) -> ChunkedArray<ListType>
[src]
impl<T> ChunkReverse<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn reverse(&self) -> ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkReverse<T> for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkOps,
[src]
T: PolarsNumericType,
ChunkedArray<T>: ChunkOps,
pub fn reverse(&self) -> ChunkedArray<T>
[src]
impl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn reverse(&self) -> ChunkedArray<Utf8Type>
[src]
impl<'a> ChunkSet<'a, &'a str, String> for ChunkedArray<Utf8Type>
[src]
pub fn set_at_idx<T>(
&'a self,
idx: &T,
opt_value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
T: AsTakeIndex,
ChunkedArray<Utf8Type>: Sized,
[src]
&'a self,
idx: &T,
opt_value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
T: AsTakeIndex,
ChunkedArray<Utf8Type>: Sized,
pub fn set_at_idx_with<T, F>(
&'a self,
idx: &T,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(Option<&'a str>) -> Option<String>,
T: AsTakeIndex,
ChunkedArray<Utf8Type>: Sized,
[src]
&'a self,
idx: &T,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(Option<&'a str>) -> Option<String>,
T: AsTakeIndex,
ChunkedArray<Utf8Type>: Sized,
pub fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
opt_value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
ChunkedArray<Utf8Type>: Sized,
[src]
&'a self,
mask: &ChunkedArray<BooleanType>,
opt_value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
ChunkedArray<Utf8Type>: Sized,
pub 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,
[src]
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(Option<&'a str>) -> Option<String>,
ChunkedArray<Utf8Type>: Sized,
impl<'a, T> ChunkSet<'a, <T as ArrowPrimitiveType>::Native, <T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn set_at_idx<I>(
&'a self,
idx: &I,
value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError> where
I: AsTakeIndex,
[src]
&'a self,
idx: &I,
value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError> where
I: AsTakeIndex,
pub fn set_at_idx_with<I, F>(
&'a self,
idx: &I,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> Option<<T as ArrowPrimitiveType>::Native>,
I: AsTakeIndex,
[src]
&'a self,
idx: &I,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> Option<<T as ArrowPrimitiveType>::Native>,
I: AsTakeIndex,
pub fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError>
pub fn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> Option<<T as ArrowPrimitiveType>::Native>,
[src]
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> Option<<T as ArrowPrimitiveType>::Native>,
impl<'a> ChunkSet<'a, bool, bool> for ChunkedArray<BooleanType>
[src]
pub fn set_at_idx<I>(
&'a self,
idx: &I,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: AsTakeIndex,
[src]
&'a self,
idx: &I,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: AsTakeIndex,
pub fn set_at_idx_with<I, F>(
&'a self,
idx: &I,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(Option<bool>) -> Option<bool>,
I: AsTakeIndex,
[src]
&'a self,
idx: &I,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(Option<bool>) -> Option<bool>,
I: AsTakeIndex,
pub fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
pub fn set_with<F>(
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(Option<bool>) -> Option<bool>,
[src]
&'a self,
mask: &ChunkedArray<BooleanType>,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(Option<bool>) -> Option<bool>,
impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn shift(
&self,
periods: i32
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
periods: i32
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl ChunkShift<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn shift(
&self,
periods: i32
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
[src]
&self,
periods: i32
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
impl ChunkShift<ListType> for ChunkedArray<ListType>
[src]
pub fn shift(&self, periods: i32) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn shift(
&self,
periods: i32
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
&self,
periods: i32
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
impl<T> ChunkShift<T> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
pub fn shift(&self, periods: i32) -> Result<ChunkedArray<T>, PolarsError>
[src]
impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn shift(&self, periods: i32) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
[src]
pub fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
periods: i32,
fill_value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl<'_> ChunkShiftFill<ListType, Option<&'_ Series>> for ChunkedArray<ListType>
[src]
pub fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<&Series>
) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
&self,
periods: i32,
fill_value: Option<&Series>
) -> Result<ChunkedArray<ListType>, PolarsError>
impl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>
[src]
pub fn shift_and_fill(
&self,
_periods: i32,
_fill_value: Option<ObjectType<T>>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
&self,
_periods: i32,
_fill_value: Option<ObjectType<T>>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
impl<T> ChunkShiftFill<T, Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
pub fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
periods: i32,
fill_value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError>
impl<'_> ChunkShiftFill<Utf8Type, Option<&'_ str>> for ChunkedArray<Utf8Type>
[src]
pub fn shift_and_fill(
&self,
periods: i32,
fill_value: Option<&str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
periods: i32,
fill_value: Option<&str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn sort(&self, reverse: bool) -> ChunkedArray<BooleanType>
[src]
pub fn sort_in_place(&mut self, reverse: bool)
[src]
pub fn argsort(&self, reverse: bool) -> Vec<usize, Global>
[src]
impl ChunkSort<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn sort(&self, reverse: bool) -> ChunkedArray<CategoricalType>
[src]
pub fn sort_in_place(&mut self, reverse: bool)
[src]
pub fn argsort(&self, reverse: bool) -> Vec<usize, Global>
[src]
impl ChunkSort<ListType> for ChunkedArray<ListType>
[src]
pub fn sort(&self, _reverse: bool) -> ChunkedArray<ListType>
[src]
pub fn sort_in_place(&mut self, _reverse: bool)
[src]
pub fn argsort(&self, _reverse: bool) -> Vec<usize, Global>
[src]
impl<T> ChunkSort<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn sort(&self, _reverse: bool) -> ChunkedArray<ObjectType<T>>
[src]
pub fn sort_in_place(&mut self, _reverse: bool)
[src]
pub fn argsort(&self, _reverse: bool) -> Vec<usize, Global>
[src]
impl<T> ChunkSort<T> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
pub fn sort(&self, reverse: bool) -> ChunkedArray<T>
[src]
pub fn sort_in_place(&mut self, reverse: bool)
[src]
pub fn argsort(&self, reverse: bool) -> Vec<usize, Global>
[src]
impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn sort(&self, reverse: bool) -> ChunkedArray<Utf8Type>
[src]
pub fn sort_in_place(&mut self, reverse: bool)
[src]
pub fn argsort(&self, reverse: bool) -> Vec<usize, Global>
[src]
impl<T> ChunkTake for ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn take(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<T>
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<T>
pub unsafe fn take_unchecked(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<T>
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<T>
pub fn take_opt(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<T>
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<T>
pub unsafe fn take_opt_unchecked(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<T>
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<T>
pub fn take_from_single_chunked(
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<T>, PolarsError>
pub fn take_from_single_chunked_iter(
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
[src]
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
impl ChunkTake for ChunkedArray<Utf8Type>
[src]
pub fn take(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type> where
ChunkedArray<Utf8Type>: Sized,
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type> where
ChunkedArray<Utf8Type>: Sized,
pub unsafe fn take_unchecked(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type>
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type>
pub fn take_opt(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type> where
ChunkedArray<Utf8Type>: Sized,
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type> where
ChunkedArray<Utf8Type>: Sized,
pub unsafe fn take_opt_unchecked(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type>
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<Utf8Type>
pub fn take_from_single_chunked(
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn take_from_single_chunked_iter(
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
[src]
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
impl ChunkTake for ChunkedArray<CategoricalType>
[src]
pub fn take(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
pub unsafe fn take_unchecked(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
pub fn take_opt(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
pub unsafe fn take_opt_unchecked(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
pub fn take_from_single_chunked(
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<CategoricalType>, PolarsError> where
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<CategoricalType>, PolarsError> where
ChunkedArray<CategoricalType>: Sized,
pub fn take_from_single_chunked_iter(
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
[src]
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
impl ChunkTake for ChunkedArray<ListType>
[src]
pub fn take(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
pub unsafe fn take_unchecked(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
pub fn take_opt(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
pub unsafe fn take_opt_unchecked(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<ListType>
pub fn take_from_single_chunked(
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<ListType>, PolarsError>
pub fn take_from_single_chunked_iter(
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
[src]
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
impl ChunkTake for ChunkedArray<BooleanType>
[src]
pub fn take(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType> where
ChunkedArray<BooleanType>: Sized,
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType> where
ChunkedArray<BooleanType>: Sized,
pub unsafe fn take_unchecked(
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType>
[src]
&self,
indices: impl Iterator<Item = usize>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType>
pub fn take_opt(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType>
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType>
pub unsafe fn take_opt_unchecked(
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType>
[src]
&self,
indices: impl Iterator<Item = Option<usize>>,
capacity: Option<usize>
) -> ChunkedArray<BooleanType>
pub fn take_from_single_chunked(
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
pub fn take_from_single_chunked_iter(
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
[src]
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
impl<T> ChunkTake for ChunkedArray<ObjectType<T>>
[src]
pub fn take_from_single_chunked(
&self,
_idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
&self,
_idx: &ChunkedArray<UInt32Type>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
pub fn take(
&self,
_indices: impl Iterator<Item = usize>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
[src]
&self,
_indices: impl Iterator<Item = usize>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
pub unsafe fn take_unchecked(
&self,
_indices: impl Iterator<Item = usize>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
[src]
&self,
_indices: impl Iterator<Item = usize>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
pub fn take_opt(
&self,
_indices: impl Iterator<Item = Option<usize>>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
[src]
&self,
_indices: impl Iterator<Item = Option<usize>>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
pub unsafe fn take_opt_unchecked(
&self,
_indices: impl Iterator<Item = Option<usize>>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
[src]
&self,
_indices: impl Iterator<Item = Option<usize>>,
_capacity: Option<usize>
) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
pub fn take_from_single_chunked_iter(
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
[src]
&self,
indices: impl Iterator<Item = usize>
) -> Result<Self, PolarsError>
impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
[src]
impl ChunkTakeEvery<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn take_every(&self, n: usize) -> ChunkedArray<CategoricalType>
[src]
impl ChunkTakeEvery<ListType> for ChunkedArray<ListType>
[src]
pub fn take_every(&self, n: usize) -> ChunkedArray<ListType>
[src]
impl<T> ChunkTakeEvery<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn take_every(&self, _n: usize) -> ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkTakeEvery<T> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn take_every(&self, n: usize) -> ChunkedArray<T>
[src]
impl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>
[src]
impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
impl ChunkUnique<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn unique(&self) -> Result<ChunkedArray<CategoricalType>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
[src]
pub fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
impl ChunkUnique<Float64Type> for ChunkedArray<Float64Type>
[src]
pub fn unique(&self) -> Result<ChunkedArray<Float64Type>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
impl ChunkUnique<ListType> for ChunkedArray<ListType>
[src]
pub fn unique(&self) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
impl<T> ChunkUnique<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn unique(&self) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
impl<T> ChunkUnique<T> for ChunkedArray<T> where
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Hash,
<T as ArrowPrimitiveType>::Native: Eq,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: IntoSeries,
[src]
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Hash,
<T as ArrowPrimitiveType>::Native: Eq,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: IntoSeries,
pub fn unique(&self) -> Result<ChunkedArray<T>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<Vec<usize, Global>, PolarsError>
[src]
pub fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn value_counts(&self) -> Result<DataFrame, PolarsError>
[src]
pub fn n_unique(&self) -> Result<usize, PolarsError>
[src]
impl ChunkVar<Series> for ChunkedArray<ListType>
[src]
impl<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>
[src]
impl ChunkVar<String> for ChunkedArray<Utf8Type>
[src]
impl ChunkVar<bool> for ChunkedArray<BooleanType>
[src]
impl ChunkVar<f32> for ChunkedArray<Float32Type>
[src]
impl<T> ChunkVar<f64> for ChunkedArray<T> where
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
[src]
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
impl ChunkVar<f64> for ChunkedArray<Float64Type>
[src]
impl ChunkVar<u32> for ChunkedArray<CategoricalType>
[src]
impl ChunkWindow for ChunkedArray<BooleanType>
[src]
pub fn rolling_sum(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
impl<T> ChunkWindow for ChunkedArray<ObjectType<T>>
[src]
pub fn rolling_sum(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
impl ChunkWindow for ChunkedArray<ListType>
[src]
pub fn rolling_sum(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
impl<T> ChunkWindow for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Bounded,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Copy,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Bounded,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Copy,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
pub fn rolling_sum(
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
pub fn rolling_mean(
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
pub fn rolling_min(
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
pub fn rolling_max(
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: usize,
weight: Option<&[f64]>,
ignore_null: bool
) -> Result<ChunkedArray<T>, PolarsError>
impl ChunkWindow for ChunkedArray<CategoricalType>
[src]
pub fn rolling_sum(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
impl ChunkWindow for ChunkedArray<Utf8Type>
[src]
pub fn rolling_sum(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: usize,
_weight: Option<&[f64]>,
_ignore_null: bool
) -> Result<Self, PolarsError>
impl<T> ChunkWindowCustom<<T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Bounded,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Copy,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Bounded,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Copy,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
pub fn rolling_custom<F>(
&self,
window_size: usize,
weight: Option<&[f64]>,
fold_fn: F,
init_fold: InitFold
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>, Option<<T as ArrowPrimitiveType>::Native>) -> Option<<T as ArrowPrimitiveType>::Native> + Copy,
[src]
&self,
window_size: usize,
weight: Option<&[f64]>,
fold_fn: F,
init_fold: InitFold
) -> Result<ChunkedArray<T>, PolarsError> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>, Option<<T as ArrowPrimitiveType>::Native>) -> Option<<T as ArrowPrimitiveType>::Native> + Copy,
impl ChunkZip<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
pub fn zip_with_series(
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl ChunkZip<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<CategoricalType>
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<CategoricalType>
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
pub fn zip_with_series(
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<CategoricalType>, PolarsError>
impl ChunkZip<ListType> for ChunkedArray<ListType>
[src]
pub fn zip_with(
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &ChunkedArray<ListType>
) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &ChunkedArray<ListType>
) -> Result<ChunkedArray<ListType>, PolarsError>
pub fn zip_with_series(
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &Series
) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &Series
) -> Result<ChunkedArray<ListType>, PolarsError>
impl<T> ChunkZip<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn zip_with(
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &ChunkedArray<ObjectType<T>>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &ChunkedArray<ObjectType<T>>
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
pub fn zip_with_series(
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &Series
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
[src]
&self,
_mask: &ChunkedArray<BooleanType>,
_other: &Series
) -> Result<ChunkedArray<ObjectType<T>>, PolarsError>
impl<T> ChunkZip<T> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<T>
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<T>
) -> Result<ChunkedArray<T>, PolarsError>
pub fn zip_with_series(
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<T>, PolarsError>
impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<Utf8Type>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<Utf8Type>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
pub fn zip_with_series(
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
&self,
mask: &ChunkedArray<BooleanType>,
other: &Series
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
impl<T> Clone for ChunkedArray<T>
[src]
pub fn clone(&self) -> ChunkedArray<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CompToSeries for ChunkedArray<ListType>
[src]
pub fn lt_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn gt_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn eq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn neq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
impl<T> CompToSeries for ChunkedArray<ObjectType<T>>
[src]
pub fn lt_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn gt_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn eq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn neq_series(&self, _rhs: &Series) -> ChunkedArray<BooleanType>
[src]
impl<T> CompToSeries for ChunkedArray<T> where
T: PolarsSingleType,
ChunkedArray<T>: IntoSeries,
[src]
T: PolarsSingleType,
ChunkedArray<T>: IntoSeries,
pub fn lt_series(&self, rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn gt_series(&self, rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn gt_eq_series(&self, rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn lt_eq_series(&self, rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn eq_series(&self, rhs: &Series) -> ChunkedArray<BooleanType>
[src]
pub fn neq_series(&self, rhs: &Series) -> ChunkedArray<BooleanType>
[src]
impl<T> Debug for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
impl Debug for ChunkedArray<ListType>
[src]
impl<T> Debug for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
T: 'static + Debug + Clone + Send + Sync + Default,
impl Debug for ChunkedArray<CategoricalType>
[src]
impl Debug for ChunkedArray<BooleanType>
[src]
impl Debug for ChunkedArray<Utf8Type>
[src]
impl<T> Default for ChunkedArray<T>
[src]
pub fn default() -> ChunkedArray<T>
[src]
impl Deref for ChunkedArray<CategoricalType>
[src]
type Target = ChunkedArray<UInt32Type>
The resulting type after dereferencing.
pub fn deref(&self) -> &<ChunkedArray<CategoricalType> as Deref>::Target
[src]
impl DerefMut for ChunkedArray<CategoricalType>
[src]
pub fn deref_mut(
&mut self
) -> &mut <ChunkedArray<CategoricalType> as Deref>::Target
[src]
&mut self
) -> &mut <ChunkedArray<CategoricalType> as Deref>::Target
impl<'_, T> Div<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: One,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: One,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Div<&'_ ChunkedArray<T>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Div<&'_ ChunkedArray<T>>>::Output
impl<T> Div<ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: One,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: One,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the /
operator.
pub fn div(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Div<ChunkedArray<T>>>::Output
[src]
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Div<ChunkedArray<T>>>::Output
impl<'_, T, N> Div<N> for &'_ ChunkedArray<T> where
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the /
operator.
pub fn div(self, rhs: N) -> <&'_ ChunkedArray<T> as Div<N>>::Output
[src]
impl Downcast<BooleanArray> for ChunkedArray<BooleanType>
[src]
pub fn downcast_chunks(&self) -> Vec<&BooleanArray, Global>
[src]
impl Downcast<GenericListArray<i64>> for ChunkedArray<ListType>
[src]
pub fn downcast_chunks(&self) -> Vec<&GenericListArray<i64>, Global>
[src]
impl Downcast<GenericStringArray<i64>> for ChunkedArray<Utf8Type>
[src]
pub fn downcast_chunks(&self) -> Vec<&GenericStringArray<i64>, Global>
[src]
impl<T> Downcast<ObjectArray<T>> for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
T: 'static + Debug + Clone + Send + Sync + Default,
pub fn downcast_chunks(&self) -> Vec<&ObjectArray<T>, Global>
[src]
impl<T> Downcast<PrimitiveArray<T>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
pub fn downcast_chunks(&self) -> Vec<&PrimitiveArray<T>, Global>
[src]
impl<T> From<ChunkedArray<T>> for Series where
T: PolarsDataType,
ChunkedArray<T>: IntoSeries,
[src]
T: PolarsDataType,
ChunkedArray<T>: IntoSeries,
pub fn from(ca: ChunkedArray<T>) -> Series
[src]
impl From<ChunkedArray<UInt32Type>> for ChunkedArray<CategoricalType>
[src]
pub fn from(ca: ChunkedArray<UInt32Type>) -> ChunkedArray<CategoricalType>
[src]
impl<'a> FromIterator<&'a &'a str> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = &'a &'a str>,
[src]
I: IntoIterator<Item = &'a &'a str>,
impl<'a> FromIterator<&'a Option<&'a str>> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = &'a Option<&'a str>>,
[src]
I: IntoIterator<Item = &'a Option<&'a str>>,
impl<'a> FromIterator<&'a Option<Series>> for ChunkedArray<ListType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = &'a Option<Series>>,
[src]
I: IntoIterator<Item = &'a Option<Series>>,
impl<'a> FromIterator<&'a Series> for ChunkedArray<ListType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = &'a Series>,
[src]
I: IntoIterator<Item = &'a Series>,
impl<'a> FromIterator<&'a str> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = &'a str>,
[src]
I: IntoIterator<Item = &'a str>,
impl<T> FromIterator<(AlignedVec<<T as ArrowPrimitiveType>::Native>, Option<Buffer>)> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
pub fn from_iter<I>(iter: I) -> ChunkedArray<T> where
I: IntoIterator<Item = (AlignedVec<<T as ArrowPrimitiveType>::Native>, Option<Buffer>)>,
[src]
I: IntoIterator<Item = (AlignedVec<<T as ArrowPrimitiveType>::Native>, Option<Buffer>)>,
impl<'a> FromIterator<Cow<'a, str>> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = Cow<'a, str>>,
[src]
I: IntoIterator<Item = Cow<'a, str>>,
impl<'a> FromIterator<Option<&'a Series>> for ChunkedArray<ListType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Option<&'a Series>>,
[src]
I: IntoIterator<Item = Option<&'a Series>>,
impl<'a> FromIterator<Option<&'a str>> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = Option<&'a str>>,
[src]
I: IntoIterator<Item = Option<&'a str>>,
impl<T> FromIterator<Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
FromIterator trait
pub fn from_iter<I>(iter: I) -> ChunkedArray<T> where
I: IntoIterator<Item = Option<<T as ArrowPrimitiveType>::Native>>,
[src]
I: IntoIterator<Item = Option<<T as ArrowPrimitiveType>::Native>>,
impl FromIterator<Option<Arc<dyn SeriesTrait + 'static>>> for ChunkedArray<ListType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Option<Arc<dyn SeriesTrait + 'static>>>,
[src]
I: IntoIterator<Item = Option<Arc<dyn SeriesTrait + 'static>>>,
impl<'a> FromIterator<Option<Cow<'a, str>>> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = Option<Cow<'a, str>>>,
[src]
I: IntoIterator<Item = Option<Cow<'a, str>>>,
impl FromIterator<Option<Series>> for ChunkedArray<ListType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Option<Series>>,
[src]
I: IntoIterator<Item = Option<Series>>,
impl FromIterator<Option<String>> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = Option<String>>,
[src]
I: IntoIterator<Item = Option<String>>,
impl FromIterator<Option<bool>> for ChunkedArray<BooleanType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType> where
I: IntoIterator<Item = Option<bool>>,
[src]
I: IntoIterator<Item = Option<bool>>,
impl FromIterator<Series> for ChunkedArray<ListType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Series>,
[src]
I: IntoIterator<Item = Series>,
impl FromIterator<String> for ChunkedArray<Utf8Type>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = String>,
[src]
I: IntoIterator<Item = String>,
impl FromIterator<bool> for ChunkedArray<BooleanType>
[src]
pub fn from_iter<I>(iter: I) -> ChunkedArray<BooleanType> where
I: IntoIterator<Item = bool>,
[src]
I: IntoIterator<Item = bool>,
impl FromNaiveDate<Date32Type, NaiveDate> for ChunkedArray<Date32Type>
[src]
pub fn new_from_naive_date(
name: &str,
v: &[NaiveDate]
) -> ChunkedArray<Date32Type>
[src]
name: &str,
v: &[NaiveDate]
) -> ChunkedArray<Date32Type>
pub fn parse_from_str_slice(
name: &str,
v: &[&str],
fmt: &str
) -> ChunkedArray<Date32Type>
[src]
name: &str,
v: &[&str],
fmt: &str
) -> ChunkedArray<Date32Type>
impl FromNaiveDateTime<Date64Type, NaiveDateTime> for ChunkedArray<Date64Type>
[src]
pub fn new_from_naive_datetime(
name: &str,
v: &[NaiveDateTime]
) -> ChunkedArray<Date64Type>
[src]
name: &str,
v: &[NaiveDateTime]
) -> ChunkedArray<Date64Type>
pub fn parse_from_str_slice(
name: &str,
v: &[&str],
fmt: &str
) -> ChunkedArray<Date64Type>
[src]
name: &str,
v: &[&str],
fmt: &str
) -> ChunkedArray<Date64Type>
impl FromNaiveTime<Time64NanosecondType, NaiveTime> for ChunkedArray<Time64NanosecondType>
[src]
pub fn new_from_naive_time(
name: &str,
v: &[NaiveTime]
) -> ChunkedArray<Time64NanosecondType>
[src]
name: &str,
v: &[NaiveTime]
) -> ChunkedArray<Time64NanosecondType>
pub fn parse_from_str_slice(
name: &str,
v: &[&str],
fmt: &str
) -> ChunkedArray<Time64NanosecondType>
[src]
name: &str,
v: &[&str],
fmt: &str
) -> ChunkedArray<Time64NanosecondType>
impl<'a> FromParallelIterator<&'a str> for ChunkedArray<Utf8Type>
[src]
pub fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoParallelIterator<Item = &'a str>,
[src]
I: IntoParallelIterator<Item = &'a str>,
impl<'a> FromParallelIterator<Option<&'a str>> for ChunkedArray<Utf8Type>
[src]
pub fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoParallelIterator<Item = Option<&'a str>>,
[src]
I: IntoParallelIterator<Item = Option<&'a str>>,
impl<T> FromParallelIterator<Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
pub fn from_par_iter<I>(iter: I) -> ChunkedArray<T> where
I: IntoParallelIterator<Item = Option<<T as ArrowPrimitiveType>::Native>>,
[src]
I: IntoParallelIterator<Item = Option<<T as ArrowPrimitiveType>::Native>>,
impl FromParallelIterator<Option<String>> for ChunkedArray<Utf8Type>
[src]
pub fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoParallelIterator<Item = Option<String>>,
[src]
I: IntoParallelIterator<Item = Option<String>>,
impl FromParallelIterator<String> for ChunkedArray<Utf8Type>
[src]
pub fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoParallelIterator<Item = String>,
[src]
I: IntoParallelIterator<Item = String>,
impl FromParallelIterator<bool> for ChunkedArray<BooleanType>
[src]
pub fn from_par_iter<I>(iter: I) -> ChunkedArray<BooleanType> where
I: IntoParallelIterator<Item = bool>,
[src]
I: IntoParallelIterator<Item = bool>,
impl IntoGroupTuples for ChunkedArray<BooleanType>
[src]
impl IntoGroupTuples for ChunkedArray<CategoricalType>
[src]
impl<T> IntoGroupTuples for ChunkedArray<T> where
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Eq,
<T as ArrowPrimitiveType>::Native: Hash,
<T as ArrowPrimitiveType>::Native: Send,
[src]
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Eq,
<T as ArrowPrimitiveType>::Native: Hash,
<T as ArrowPrimitiveType>::Native: Send,
impl IntoGroupTuples for ChunkedArray<Float64Type>
[src]
impl IntoGroupTuples for ChunkedArray<Float32Type>
[src]
impl IntoGroupTuples for ChunkedArray<Utf8Type>
[src]
impl<T> IntoGroupTuples for ChunkedArray<ObjectType<T>>
[src]
impl IntoGroupTuples for ChunkedArray<ListType>
[src]
impl<'a> IntoIterator for &'a ChunkedArray<CategoricalType>
[src]
type Item = Option<u32>
The type of the elements being iterated over.
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<CategoricalType> as IntoIterator>::Item> + 'a, Global>
Which kind of iterator are we turning this into?
pub fn into_iter(
self
) -> <&'a ChunkedArray<CategoricalType> as IntoIterator>::IntoIter
[src]
self
) -> <&'a ChunkedArray<CategoricalType> as IntoIterator>::IntoIter
impl<'a> IntoIterator for &'a ChunkedArray<ListType>
[src]
type Item = Option<Series>
The type of the elements being iterated over.
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ListType> as IntoIterator>::Item> + 'a, Global>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> <&'a ChunkedArray<ListType> as IntoIterator>::IntoIter
[src]
Decides which iterator fits best the current chunked array. The decision are based on the number of chunks and the existence of null values.
impl<'a> IntoIterator for &'a ChunkedArray<BooleanType>
[src]
type Item = Option<bool>
The type of the elements being iterated over.
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BooleanType> as IntoIterator>::Item> + 'a, Global>
Which kind of iterator are we turning this into?
pub fn into_iter(
self
) -> <&'a ChunkedArray<BooleanType> as IntoIterator>::IntoIter
[src]
self
) -> <&'a ChunkedArray<BooleanType> as IntoIterator>::IntoIter
Decides which iterator fits best the current chunked array. The decision are based on the number of chunks and the existence of null values.
impl<'a, T> IntoIterator for &'a ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
type Item = Option<<T as ArrowPrimitiveType>::Native>
The type of the elements being iterated over.
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<T> as IntoIterator>::Item> + 'a, Global>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> <&'a ChunkedArray<T> as IntoIterator>::IntoIter
[src]
impl<'a> IntoIterator for &'a ChunkedArray<Utf8Type>
[src]
type Item = Option<&'a str>
The type of the elements being iterated over.
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<Utf8Type> as IntoIterator>::Item> + 'a, Global>
Which kind of iterator are we turning this into?
pub fn into_iter(self) -> <&'a ChunkedArray<Utf8Type> as IntoIterator>::IntoIter
[src]
Decides which iterator fits best the current chunked array. The decision are based on the number of chunks and the existence of null values.
impl<'a> IntoNoNullIterator for &'a ChunkedArray<CategoricalType>
[src]
type Item = u32
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<CategoricalType> as IntoNoNullIterator>::Item> + 'a, Global>
pub fn into_no_null_iter(
self
) -> <&'a ChunkedArray<CategoricalType> as IntoNoNullIterator>::IntoIter
[src]
self
) -> <&'a ChunkedArray<CategoricalType> as IntoNoNullIterator>::IntoIter
impl<'a> IntoNoNullIterator for &'a ChunkedArray<BooleanType>
[src]
type Item = bool
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<BooleanType> as IntoNoNullIterator>::Item> + 'a, Global>
pub fn into_no_null_iter(
self
) -> <&'a ChunkedArray<BooleanType> as IntoNoNullIterator>::IntoIter
[src]
self
) -> <&'a ChunkedArray<BooleanType> as IntoNoNullIterator>::IntoIter
Decides which iterator fits best the current no null chunked array. The decision are based on the number of chunks.
impl<'a> IntoNoNullIterator for &'a ChunkedArray<Utf8Type>
[src]
type Item = &'a str
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<Utf8Type> as IntoNoNullIterator>::Item> + 'a, Global>
pub fn into_no_null_iter(
self
) -> <&'a ChunkedArray<Utf8Type> as IntoNoNullIterator>::IntoIter
[src]
self
) -> <&'a ChunkedArray<Utf8Type> as IntoNoNullIterator>::IntoIter
Decides which iterator fits best the current no null chunked array. The decision are based on the number of chunks.
impl<'a> IntoNoNullIterator for &'a ChunkedArray<ListType>
[src]
type Item = Series
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<ListType> as IntoNoNullIterator>::Item> + 'a, Global>
pub fn into_no_null_iter(
self
) -> <&'a ChunkedArray<ListType> as IntoNoNullIterator>::IntoIter
[src]
self
) -> <&'a ChunkedArray<ListType> as IntoNoNullIterator>::IntoIter
Decides which iterator fits best the current no null chunked array. The decision are based on the number of chunks.
impl<'a, T> IntoNoNullIterator for &'a ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
type Item = <T as ArrowPrimitiveType>::Native
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<T> as IntoNoNullIterator>::Item> + 'a, Global>
pub fn into_no_null_iter(
self
) -> <&'a ChunkedArray<T> as IntoNoNullIterator>::IntoIter
[src]
self
) -> <&'a ChunkedArray<T> as IntoNoNullIterator>::IntoIter
impl<'a> IntoParallelIterator for &'a ChunkedArray<ListType>
[src]
Convert $ca_iter
into a ParallelIterator
using the most efficient
ParallelIterator
implementation for the given $ca_type
.
- If
$ca_type
has only a chunk and has no null values, it uses$single_chunk_return_option
. - If
$ca_type
has only a chunk and does have null values, it uses$single_chunk_null_check_return_option
. - If
$ca_type
has many chunks and has no null values, it uses$many_chunk_return_option
. - If
$ca_type
has many chunks and does have null values, it uses$many_chunk_null_check_return_option
.
type Iter = ListParIterDispatcher<'a>
The parallel iterator type that will be created.
type Item = Option<Series>
The type of item that the parallel iterator will produce.
pub fn into_par_iter(
self
) -> <&'a ChunkedArray<ListType> as IntoParallelIterator>::Iter
[src]
self
) -> <&'a ChunkedArray<ListType> as IntoParallelIterator>::Iter
impl<'a> IntoParallelIterator for &'a ChunkedArray<Utf8Type>
[src]
Convert $ca_iter
into a ParallelIterator
using the most efficient
ParallelIterator
implementation for the given $ca_type
.
- If
$ca_type
has only a chunk and has no null values, it uses$single_chunk_return_option
. - If
$ca_type
has only a chunk and does have null values, it uses$single_chunk_null_check_return_option
. - If
$ca_type
has many chunks and has no null values, it uses$many_chunk_return_option
. - If
$ca_type
has many chunks and does have null values, it uses$many_chunk_null_check_return_option
.
type Iter = Utf8ParIterDispatcher<'a>
The parallel iterator type that will be created.
type Item = Option<&'a str>
The type of item that the parallel iterator will produce.
pub fn into_par_iter(
self
) -> <&'a ChunkedArray<Utf8Type> as IntoParallelIterator>::Iter
[src]
self
) -> <&'a ChunkedArray<Utf8Type> as IntoParallelIterator>::Iter
impl<'a, T> IntoParallelIterator for &'a ChunkedArray<T> where
T: PolarsNumericType + Send + Sync,
[src]
T: PolarsNumericType + Send + Sync,
Convert ChunkedArray
into a ParallelIterator
using the most efficient
ParallelIterator
implementation for the given ChunkedArray<T>
of polars numeric types.
- If
ChunkedArray<T>
has only a chunk and has no null values, it usesNumParIterSingleChunkReturnOption
. - If
ChunkedArray<T>
has only a chunk and does have null values, it usesNumParIterSingleChunkNullCheckReturnOption
. - If
ChunkedArray<T>
has many chunks and has no null values, it usesNumParIterManyChunkReturnOption
. - If
ChunkedArray<T>
has many chunks and does have null values, it usesNumParIterManyChunkNullCheckReturnOption
.
type Iter = NumParIterDispatcher<'a, T>
The parallel iterator type that will be created.
type Item = Option<<T as ArrowPrimitiveType>::Native>
The type of item that the parallel iterator will produce.
pub fn into_par_iter(
self
) -> <&'a ChunkedArray<T> as IntoParallelIterator>::Iter
[src]
self
) -> <&'a ChunkedArray<T> as IntoParallelIterator>::Iter
impl<'a> IntoParallelIterator for &'a ChunkedArray<BooleanType>
[src]
Convert $ca_iter
into a ParallelIterator
using the most efficient
ParallelIterator
implementation for the given $ca_type
.
- If
$ca_type
has only a chunk and has no null values, it uses$single_chunk_return_option
. - If
$ca_type
has only a chunk and does have null values, it uses$single_chunk_null_check_return_option
. - If
$ca_type
has many chunks and has no null values, it uses$many_chunk_return_option
. - If
$ca_type
has many chunks and does have null values, it uses$many_chunk_null_check_return_option
.
type Iter = BooleanParIterDispatcher<'a>
The parallel iterator type that will be created.
type Item = Option<bool>
The type of item that the parallel iterator will produce.
pub fn into_par_iter(
self
) -> <&'a ChunkedArray<BooleanType> as IntoParallelIterator>::Iter
[src]
self
) -> <&'a ChunkedArray<BooleanType> as IntoParallelIterator>::Iter
impl IntoSeries for ChunkedArray<Int16Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<UInt8Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Date64Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Int64Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<CategoricalType>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Time64NanosecondType>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<DurationMillisecondType>
[src]
pub fn into_series(self) -> Series
[src]
impl<T> IntoSeries for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
T: 'static + Debug + Clone + Send + Sync + Default,
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Float32Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Float64Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Int32Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Utf8Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Int8Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Date32Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<UInt32Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<UInt16Type>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<DurationNanosecondType>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<BooleanType>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<ListType>
[src]
pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<UInt64Type>
[src]
pub fn into_series(self) -> Series
[src]
impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<T> where
T: PolarsNumericType,
[src]
T: PolarsNumericType,
type Item = <T as ArrowPrimitiveType>::Native
type TakeRandom = Box<dyn TakeRandom<Item = <&'a ChunkedArray<T> as IntoTakeRandom<'a>>::Item> + 'a, Global>
pub fn take_rand(
&self
) -> <&'a ChunkedArray<T> as IntoTakeRandom<'a>>::TakeRandom
[src]
&self
) -> <&'a ChunkedArray<T> as IntoTakeRandom<'a>>::TakeRandom
impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<BooleanType>
[src]
type Item = bool
type TakeRandom = Box<dyn TakeRandom<Item = <&'a ChunkedArray<BooleanType> as IntoTakeRandom<'a>>::Item> + 'a, Global>
pub fn take_rand(
&self
) -> <&'a ChunkedArray<BooleanType> as IntoTakeRandom<'a>>::TakeRandom
[src]
&self
) -> <&'a ChunkedArray<BooleanType> as IntoTakeRandom<'a>>::TakeRandom
impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<ListType>
[src]
type Item = Series
type TakeRandom = Box<dyn TakeRandom<Item = <&'a ChunkedArray<ListType> as IntoTakeRandom<'a>>::Item> + 'a, Global>
pub fn take_rand(
&self
) -> <&'a ChunkedArray<ListType> as IntoTakeRandom<'a>>::TakeRandom
[src]
&self
) -> <&'a ChunkedArray<ListType> as IntoTakeRandom<'a>>::TakeRandom
impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<Utf8Type>
[src]
type Item = &'a str
type TakeRandom = Box<dyn TakeRandom<Item = <&'a ChunkedArray<Utf8Type> as IntoTakeRandom<'a>>::Item> + 'a, Global>
pub fn take_rand(
&self
) -> <&'a ChunkedArray<Utf8Type> as IntoTakeRandom<'a>>::TakeRandom
[src]
&self
) -> <&'a ChunkedArray<Utf8Type> as IntoTakeRandom<'a>>::TakeRandom
impl<T> IsNan for ChunkedArray<T> where
T: PolarsFloatType,
<T as ArrowPrimitiveType>::Native: Float,
[src]
T: PolarsFloatType,
<T as ArrowPrimitiveType>::Native: Float,
pub fn is_nan(&self) -> ChunkedArray<BooleanType>
[src]
pub fn is_not_nan(&self) -> ChunkedArray<BooleanType>
[src]
pub fn is_finite(&self) -> ChunkedArray<BooleanType>
[src]
pub fn is_infinite(&self) -> ChunkedArray<BooleanType>
[src]
impl<'_, T> Mul<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Mul<&'_ ChunkedArray<T>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Mul<&'_ ChunkedArray<T>>>::Output
impl<T> Mul<ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the *
operator.
pub fn mul(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Mul<ChunkedArray<T>>>::Output
[src]
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Mul<ChunkedArray<T>>>::Output
impl<'_, T, N> Mul<N> for &'_ ChunkedArray<T> where
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the *
operator.
pub fn mul(self, rhs: N) -> <&'_ ChunkedArray<T> as Mul<N>>::Output
[src]
impl NewChunkedArray<BooleanType, bool> for ChunkedArray<BooleanType>
[src]
pub fn new_from_slice(name: &str, v: &[bool]) -> ChunkedArray<BooleanType>
[src]
pub fn new_from_opt_slice(
name: &str,
opt_v: &[Option<bool>]
) -> ChunkedArray<BooleanType>
[src]
name: &str,
opt_v: &[Option<bool>]
) -> ChunkedArray<BooleanType>
pub fn new_from_opt_iter(
name: &str,
it: impl Iterator<Item = Option<bool>>
) -> ChunkedArray<BooleanType>
[src]
name: &str,
it: impl Iterator<Item = Option<bool>>
) -> ChunkedArray<BooleanType>
pub fn new_from_iter(
name: &str,
it: impl Iterator<Item = bool>
) -> ChunkedArray<BooleanType>
[src]
name: &str,
it: impl Iterator<Item = bool>
) -> ChunkedArray<BooleanType>
Create a new ChunkedArray from an iterator.
impl<T> NewChunkedArray<ObjectType<T>, T> for ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]
T: Any + Debug + Clone + Send + Sync + Default,
pub fn new_from_slice(name: &str, v: &[T]) -> ChunkedArray<ObjectType<T>>
[src]
pub fn new_from_opt_slice(
name: &str,
opt_v: &[Option<T>]
) -> ChunkedArray<ObjectType<T>>
[src]
name: &str,
opt_v: &[Option<T>]
) -> ChunkedArray<ObjectType<T>>
pub fn new_from_opt_iter(
name: &str,
it: impl Iterator<Item = Option<T>>
) -> ChunkedArray<ObjectType<T>>
[src]
name: &str,
it: impl Iterator<Item = Option<T>>
) -> ChunkedArray<ObjectType<T>>
pub fn new_from_iter(
name: &str,
it: impl Iterator<Item = T>
) -> ChunkedArray<ObjectType<T>>
[src]
name: &str,
it: impl Iterator<Item = T>
) -> ChunkedArray<ObjectType<T>>
Create a new ChunkedArray from an iterator.
impl<T> NewChunkedArray<T, <T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
pub fn new_from_slice(
name: &str,
v: &[<T as ArrowPrimitiveType>::Native]
) -> ChunkedArray<T>
[src]
name: &str,
v: &[<T as ArrowPrimitiveType>::Native]
) -> ChunkedArray<T>
pub fn new_from_opt_slice(
name: &str,
opt_v: &[Option<<T as ArrowPrimitiveType>::Native>]
) -> ChunkedArray<T>
[src]
name: &str,
opt_v: &[Option<<T as ArrowPrimitiveType>::Native>]
) -> ChunkedArray<T>
pub fn new_from_opt_iter(
name: &str,
it: impl Iterator<Item = Option<<T as ArrowPrimitiveType>::Native>>
) -> ChunkedArray<T>
[src]
name: &str,
it: impl Iterator<Item = Option<<T as ArrowPrimitiveType>::Native>>
) -> ChunkedArray<T>
pub fn new_from_iter(
name: &str,
it: impl Iterator<Item = <T as ArrowPrimitiveType>::Native>
) -> ChunkedArray<T>
[src]
name: &str,
it: impl Iterator<Item = <T as ArrowPrimitiveType>::Native>
) -> ChunkedArray<T>
Create a new ChunkedArray from an iterator.
impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type> where
S: AsRef<str>,
[src]
S: AsRef<str>,
pub fn new_from_slice(name: &str, v: &[S]) -> ChunkedArray<Utf8Type>
[src]
pub fn new_from_opt_slice(
name: &str,
opt_v: &[Option<S>]
) -> ChunkedArray<Utf8Type>
[src]
name: &str,
opt_v: &[Option<S>]
) -> ChunkedArray<Utf8Type>
pub fn new_from_opt_iter(
name: &str,
it: impl Iterator<Item = Option<S>>
) -> ChunkedArray<Utf8Type>
[src]
name: &str,
it: impl Iterator<Item = Option<S>>
) -> ChunkedArray<Utf8Type>
pub fn new_from_iter(
name: &str,
it: impl Iterator<Item = S>
) -> ChunkedArray<Utf8Type>
[src]
name: &str,
it: impl Iterator<Item = S>
) -> ChunkedArray<Utf8Type>
Create a new ChunkedArray from an iterator.
impl<'_> Not for &'_ ChunkedArray<BooleanType>
[src]
type Output = ChunkedArray<BooleanType>
The resulting type after applying the !
operator.
pub fn not(self) -> <&'_ ChunkedArray<BooleanType> as Not>::Output
[src]
impl Not for ChunkedArray<BooleanType>
[src]
type Output = ChunkedArray<BooleanType>
The resulting type after applying the !
operator.
pub fn not(self) -> <ChunkedArray<BooleanType> as Not>::Output
[src]
impl NumOpsDispatch for ChunkedArray<CategoricalType>
[src]
pub fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
impl NumOpsDispatch for ChunkedArray<ListType>
[src]
pub fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
impl NumOpsDispatch for ChunkedArray<BooleanType>
[src]
pub fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
impl NumOpsDispatch for ChunkedArray<Utf8Type>
[src]
pub fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
impl<T> NumOpsDispatch for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: One,
ChunkedArray<T>: IntoSeries,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: One,
ChunkedArray<T>: IntoSeries,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
pub fn subtract(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn add_to(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn multiply(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn divide(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
pub fn remainder(&self, rhs: &Series) -> Result<Series, PolarsError>
[src]
impl Pow for ChunkedArray<ListType>
[src]
pub fn pow_f32(&self, _exp: f32) -> ChunkedArray<Float32Type>
[src]
pub fn pow_f64(&self, _exp: f64) -> ChunkedArray<Float64Type>
[src]
impl Pow for ChunkedArray<CategoricalType>
[src]
pub fn pow_f32(&self, _exp: f32) -> ChunkedArray<Float32Type>
[src]
pub fn pow_f64(&self, _exp: f64) -> ChunkedArray<Float64Type>
[src]
impl<T> Pow for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
pub fn pow_f32(&self, exp: f32) -> ChunkedArray<Float32Type>
[src]
pub fn pow_f64(&self, exp: f64) -> ChunkedArray<Float64Type>
[src]
impl Pow for ChunkedArray<Utf8Type>
[src]
pub fn pow_f32(&self, _exp: f32) -> ChunkedArray<Float32Type>
[src]
pub fn pow_f64(&self, _exp: f64) -> ChunkedArray<Float64Type>
[src]
impl Pow for ChunkedArray<BooleanType>
[src]
pub fn pow_f32(&self, _exp: f32) -> ChunkedArray<Float32Type>
[src]
pub fn pow_f64(&self, _exp: f64) -> ChunkedArray<Float64Type>
[src]
impl<'_, T> Rem<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the %
operator.
pub fn rem(
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Rem<&'_ ChunkedArray<T>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Rem<&'_ ChunkedArray<T>>>::Output
impl<T> Rem<ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the %
operator.
pub fn rem(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Rem<ChunkedArray<T>>>::Output
[src]
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Rem<ChunkedArray<T>>>::Output
impl<'_, T, N> Rem<N> for &'_ ChunkedArray<T> where
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Rem<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Rem<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the %
operator.
pub fn rem(self, rhs: N) -> <&'_ ChunkedArray<T> as Rem<N>>::Output
[src]
impl<'_, T> Sub<&'_ ChunkedArray<T>> for &'_ ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the -
operator.
pub fn sub(
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Sub<&'_ ChunkedArray<T>>>::Output
[src]
self,
rhs: &'_ ChunkedArray<T>
) -> <&'_ ChunkedArray<T> as Sub<&'_ ChunkedArray<T>>>::Output
impl<T> Sub<ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Mul<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Add<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Zero,
<<T as ArrowPrimitiveType>::Native as Add<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Mul<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the -
operator.
pub fn sub(
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Sub<ChunkedArray<T>>>::Output
[src]
self,
rhs: ChunkedArray<T>
) -> <ChunkedArray<T> as Sub<ChunkedArray<T>>>::Output
impl<'_, T, N> Sub<N> for &'_ ChunkedArray<T> where
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
N: Num + ToPrimitive,
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
type Output = ChunkedArray<T>
The resulting type after applying the -
operator.
pub fn sub(self, rhs: N) -> <&'_ ChunkedArray<T> as Sub<N>>::Output
[src]
impl<'a> TakeRandom for &'a ChunkedArray<Utf8Type>
[src]
type Item = &'a str
pub fn get(
&self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandom>::Item>
[src]
&self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandom>::Item>
pub unsafe fn get_unchecked(
&self,
index: usize
) -> <&'a ChunkedArray<Utf8Type> as TakeRandom>::Item
[src]
&self,
index: usize
) -> <&'a ChunkedArray<Utf8Type> as TakeRandom>::Item
impl TakeRandom for ChunkedArray<ListType>
[src]
type Item = Series
pub fn get(
&self,
index: usize
) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
[src]
&self,
index: usize
) -> Option<<ChunkedArray<ListType> as TakeRandom>::Item>
pub unsafe fn get_unchecked(
&self,
index: usize
) -> <ChunkedArray<ListType> as TakeRandom>::Item
[src]
&self,
index: usize
) -> <ChunkedArray<ListType> as TakeRandom>::Item
impl<T> TakeRandom for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
type Item = <T as ArrowPrimitiveType>::Native
pub fn get(&self, index: usize) -> Option<<ChunkedArray<T> as TakeRandom>::Item>
[src]
pub unsafe fn get_unchecked(
&self,
index: usize
) -> <ChunkedArray<T> as TakeRandom>::Item
[src]
&self,
index: usize
) -> <ChunkedArray<T> as TakeRandom>::Item
impl<'a, T> TakeRandom for &'a ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
T: PolarsPrimitiveType,
type Item = <T as ArrowPrimitiveType>::Native
pub fn get(
&self,
index: usize
) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>
[src]
&self,
index: usize
) -> Option<<&'a ChunkedArray<T> as TakeRandom>::Item>
pub unsafe fn get_unchecked(
&self,
index: usize
) -> <&'a ChunkedArray<T> as TakeRandom>::Item
[src]
&self,
index: usize
) -> <&'a ChunkedArray<T> as TakeRandom>::Item
impl TakeRandom for ChunkedArray<BooleanType>
[src]
type Item = bool
pub fn get(
&self,
index: usize
) -> Option<<ChunkedArray<BooleanType> as TakeRandom>::Item>
[src]
&self,
index: usize
) -> Option<<ChunkedArray<BooleanType> as TakeRandom>::Item>
pub unsafe fn get_unchecked(
&self,
index: usize
) -> <ChunkedArray<BooleanType> as TakeRandom>::Item
[src]
&self,
index: usize
) -> <ChunkedArray<BooleanType> as TakeRandom>::Item
impl TakeRandom for ChunkedArray<CategoricalType>
[src]
type Item = u32
pub fn get(
&self,
index: usize
) -> Option<<ChunkedArray<CategoricalType> as TakeRandom>::Item>
[src]
&self,
index: usize
) -> Option<<ChunkedArray<CategoricalType> as TakeRandom>::Item>
pub unsafe fn get_unchecked(
&self,
index: usize
) -> <ChunkedArray<CategoricalType> as TakeRandom>::Item
[src]
&self,
index: usize
) -> <ChunkedArray<CategoricalType> as TakeRandom>::Item
impl<'a> TakeRandomUtf8 for &'a ChunkedArray<Utf8Type>
[src]
type Item = &'a str
pub fn get(
self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
[src]
self,
index: usize
) -> Option<<&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item>
pub unsafe fn get_unchecked(
self,
index: usize
) -> <&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item
[src]
self,
index: usize
) -> <&'a ChunkedArray<Utf8Type> as TakeRandomUtf8>::Item
impl ToDummies<BooleanType> for ChunkedArray<BooleanType>
[src]
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<CategoricalType> for ChunkedArray<CategoricalType>
[src]
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<Float32Type> for ChunkedArray<Float32Type>
[src]
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<Float64Type> for ChunkedArray<Float64Type>
[src]
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<ListType> for ChunkedArray<ListType>
[src]
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl<T> ToDummies<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl<T> ToDummies<T> for ChunkedArray<T> where
T: PolarsIntegerType + Sync,
<T as ArrowPrimitiveType>::Native: Hash,
<T as ArrowPrimitiveType>::Native: Eq,
<T as ArrowPrimitiveType>::Native: Display,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: ChunkCompare<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: ChunkUnique<T>,
[src]
T: PolarsIntegerType + Sync,
<T as ArrowPrimitiveType>::Native: Hash,
<T as ArrowPrimitiveType>::Native: Eq,
<T as ArrowPrimitiveType>::Native: Display,
ChunkedArray<T>: ChunkOps,
ChunkedArray<T>: ChunkCompare<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: ChunkUnique<T>,
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<Utf8Type> for ChunkedArray<Utf8Type>
[src]
pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ValueSize for ChunkedArray<ListType>
[src]
pub fn get_values_size(&self) -> usize
[src]
impl ValueSize for ChunkedArray<Utf8Type>
[src]
pub fn get_values_size(&self) -> usize
[src]
impl VecHash for ChunkedArray<Utf8Type>
[src]
pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<ListType>
[src]
pub fn vec_hash(&self, _random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<Float64Type>
[src]
pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl<T> VecHash for ChunkedArray<T> where
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Hash,
[src]
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Hash,
pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<BooleanType>
[src]
pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<Float32Type>
[src]
pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl ZipOuterJoinColumn for ChunkedArray<Utf8Type>
[src]
pub fn zip_outer_join_column(
&self,
right_column: &Series,
opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
[src]
&self,
right_column: &Series,
opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
impl ZipOuterJoinColumn for ChunkedArray<Float32Type>
[src]
pub fn zip_outer_join_column(
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
[src]
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
impl ZipOuterJoinColumn for ChunkedArray<CategoricalType>
[src]
pub fn zip_outer_join_column(
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
[src]
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
impl ZipOuterJoinColumn for ChunkedArray<Float64Type>
[src]
pub fn zip_outer_join_column(
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
[src]
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
impl ZipOuterJoinColumn for ChunkedArray<ListType>
[src]
pub fn zip_outer_join_column(
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
[src]
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
impl<T> ZipOuterJoinColumn for ChunkedArray<ObjectType<T>>
[src]
pub fn zip_outer_join_column(
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
[src]
&self,
_right_column: &Series,
_opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
impl ZipOuterJoinColumn for ChunkedArray<BooleanType>
[src]
pub fn zip_outer_join_column(
&self,
right_column: &Series,
opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
[src]
&self,
right_column: &Series,
opt_join_tuples: &[(Option<usize>, Option<usize>)]
) -> Series
impl<T> ZipOuterJoinColumn for ChunkedArray<T> where
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
[src]
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
Auto Trait Implementations
impl<T> !RefUnwindSafe for ChunkedArray<T>
[src]
impl<T> Send for ChunkedArray<T> where
T: Send,
[src]
T: Send,
impl<T> Sync for ChunkedArray<T> where
T: Sync,
[src]
T: Sync,
impl<T> Unpin for ChunkedArray<T> where
T: Unpin,
[src]
T: Unpin,
impl<T> !UnwindSafe for ChunkedArray<T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'data, I> IntoParallelRefIterator<'data> for I where
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
[src]
I: 'data + ?Sized,
&'data I: IntoParallelIterator,
type Iter = <&'data I as IntoParallelIterator>::Iter
The type of the parallel iterator that will be returned.
type Item = <&'data I as IntoParallelIterator>::Item
The type of item that the parallel iterator will produce.
This will typically be an &'data T
reference type. Read more
pub fn par_iter(&'data self) -> <I as IntoParallelRefIterator<'data>>::Iter
[src]
impl<T, Rhs, Output> NumOps<Rhs, Output> for T where
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
[src]
T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,