Struct polars::chunked_array::ChunkedArray [−][src]
pub struct ChunkedArray<T> { /* fields omitted */ }
ChunkedArray
Every Series contains a ChunkedArray<T>
. Unlike Series, ChunkedArray’s are typed. This allows
us to apply closures to the data and collect the results to a ChunkedArray
of the same type T
.
Below we use an apply to use the cosine function to the values of a ChunkedArray
.
fn apply_cosine(ca: &Float32Chunked) -> Float32Chunked { ca.apply(|v| v.cos()) }
If we would like to cast the result we could use a Rust Iterator instead of an apply
method.
Note that Iterators are slightly slower as the null values aren’t ignored implicitly.
fn apply_cosine_and_cast(ca: &Float32Chunked) -> Float64Chunked { ca.into_iter() .map(|opt_v| { opt_v.map(|v| v.cos() as f64) }).collect() }
Another option is to first cast and then use an apply.
fn apply_cosine_and_cast(ca: &Float32Chunked) -> Float64Chunked { ca.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 excellent methods available for Iterators.
fn iter_forward(ca: &Float32Chunked) { ca.into_iter() .for_each(|opt_v| println!("{:?}", opt_v)) } fn iter_backward(ca: &Float32Chunked) { ca.into_iter() .rev() .for_each(|opt_v| println!("{:?}", opt_v)) }
Memory layout
ChunkedArray
’s use Apache Arrow as backend for the memory layout.
Arrows memory is immutable which makes it possible to make multiple zero copy (sub)-views from a single array.
To be able to append data, Polars uses chunks to append new memory locations, hence the ChunkedArray<T>
data structure.
Appends are cheap, because it will not lead to a full reallocation of the whole array (as could be the case with a Rust Vec).
However, multiple chunks in a ChunkArray
will slow down 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 advised to call the rechunk after
multiple append operations.
Implementations
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]pub fn downcast_iter(
&self
) -> impl Iterator<Item = &PrimitiveArray<T>> + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = &PrimitiveArray<T>> + DoubleEndedIterator
pub fn downcast_chunks(&self) -> Chunks<'_, PrimitiveArray<T>>
[src]
impl ChunkedArray<BooleanType>
[src]
impl ChunkedArray<BooleanType>
[src]pub fn downcast_iter(
&self
) -> impl Iterator<Item = &BooleanArray> + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = &BooleanArray> + DoubleEndedIterator
pub fn downcast_chunks(&self) -> Chunks<'_, BooleanArray>
[src]
impl ChunkedArray<Utf8Type>
[src]
impl ChunkedArray<Utf8Type>
[src]pub fn downcast_iter(
&self
) -> impl Iterator<Item = &GenericStringArray<i64>> + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = &GenericStringArray<i64>> + DoubleEndedIterator
pub fn downcast_chunks(&self) -> Chunks<'_, GenericStringArray<i64>>
[src]
impl ChunkedArray<ListType>
[src]
impl ChunkedArray<ListType>
[src]pub fn downcast_iter(
&self
) -> impl Iterator<Item = &GenericListArray<i64>> + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = &GenericListArray<i64>> + DoubleEndedIterator
pub fn downcast_chunks(&self) -> Chunks<'_, GenericListArray<i64>>
[src]
impl<T> ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
impl<T> ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]pub fn downcast_iter(
&self
) -> impl Iterator<Item = &ObjectArray<T>> + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = &ObjectArray<T>> + DoubleEndedIterator
pub fn downcast_chunks(&self) -> Chunks<'_, ObjectArray<T>>
[src]
impl ChunkedArray<BooleanType>
[src]
impl ChunkedArray<BooleanType>
[src]pub fn arg_true(&self) -> ChunkedArray<UInt32Type>
[src]
impl ChunkedArray<BooleanType>
[src]
impl ChunkedArray<BooleanType>
[src]impl ChunkedArray<BooleanType>
[src]
impl ChunkedArray<BooleanType>
[src]impl ChunkedArray<BooleanType>
[src]
impl ChunkedArray<BooleanType>
[src]pub fn into_no_null_iter(
&self
) -> impl Iterator<Item = bool> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = bool> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
impl ChunkedArray<Utf8Type>
[src]
impl ChunkedArray<Utf8Type>
[src]pub fn into_no_null_iter(
&'a self
) -> impl Iterator<Item = &'a str> + Send + Sync + ExactSizeIterator + DoubleEndedIterator + 'a
[src]
&'a self
) -> impl Iterator<Item = &'a str> + Send + Sync + ExactSizeIterator + DoubleEndedIterator + 'a
impl ChunkedArray<ListType>
[src]
impl ChunkedArray<ListType>
[src]pub fn into_no_null_iter(
&self
) -> impl Iterator<Item = Series> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = Series> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
impl ChunkedArray<CategoricalType>
[src]
impl ChunkedArray<CategoricalType>
[src]pub fn into_no_null_iter(
&self
) -> impl Iterator<Item = u32> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = u32> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]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]
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]
impl<T> ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]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]
impl<T> ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]pub unsafe fn get_as_any(&self, index: usize) -> &(dyn Any + 'static)
[src]
Safety
No bounds checks
impl<T> ChunkedArray<T> where
ChunkedArray<T>: ChunkTake,
[src]
impl<T> ChunkedArray<T> where
ChunkedArray<T>: ChunkTake,
[src]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]
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Float,
<T as ArrowPrimitiveType>::Native: NumCast,
[src]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]
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]
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]
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]
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 weekday(&self) -> ChunkedArray<UInt32Type>
[src]
Extract weekday from underlying NaiveDateTime representation. Returns the weekday number where monday = 0 and sunday = 6
pub fn week(&self) -> ChunkedArray<UInt32Type>
[src]
Returns the ISO week number starting from 1. The return value ranges from 1 to 53. (The last week of year differs by years.)
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]
impl ChunkedArray<Date32Type>
[src]pub fn year(&self) -> ChunkedArray<Int32Type>
[src]
Extract month from underlying NaiveDate 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 weekday(&self) -> ChunkedArray<UInt32Type>
[src]
Extract weekday from underlying NaiveDate representation. Returns the weekday number where monday = 0 and sunday = 6
pub fn week(&self) -> ChunkedArray<UInt32Type>
[src]
Returns the ISO week number starting from 1. The return value ranges from 1 to 53. (The last week of year differs by years.)
pub fn day(&self) -> ChunkedArray<UInt32Type>
[src]
Extract day from underlying NaiveDate 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]
impl<T> ChunkedArray<T>
[src]pub fn array_data(&self) -> Vec<&ArrayData, Global>
[src]
Get Arrow ArrayData
pub fn get_categorical_map(&self) -> Option<&Arc<RevMapping>>
[src]
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) -> impl Iterator<Item = (usize, Option<Buffer>)>
[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
) -> Map<Iter<'_, Arc<dyn Array + 'static>>, fn(&Arc<dyn Array + 'static>) -> usize>
[src]
&self
) -> Map<Iter<'_, Arc<dyn Array + 'static>>, fn(&Arc<dyn Array + 'static>) -> usize>
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) -> ChunkedArray<T>
[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: i64, length: usize) -> ChunkedArray<T>
[src]
Slice the array. The chunks are reallocated the underlying data slices are zero copy.
When offset is negative it will be counted from the end of the array. This method will never error, and will slice the best match when offset, or length is out of bounds
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]
impl<T> ChunkedArray<T> where
T: PolarsDataType,
[src]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]
impl<T> ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]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_from_owned_with_null_bitmap(
name: &str,
values: AlignedVec<<T as ArrowPrimitiveType>::Native>,
buffer: Option<Buffer>
) -> ChunkedArray<T>
[src]
name: &str,
values: AlignedVec<<T as ArrowPrimitiveType>::Native>,
buffer: Option<Buffer>
) -> ChunkedArray<T>
Nullify values in slice with an existing null bitmap
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
[src]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
) -> impl Iterator<Item = &[<T as ArrowPrimitiveType>::Native]> + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = &[<T as ArrowPrimitiveType>::Native]> + DoubleEndedIterator
Get slices of the underlying arrow data. NOTE: null values should be taken into account by the user of these slices as they are handled separately
pub fn into_no_null_iter(
&self
) -> impl Iterator<Item = <T as ArrowPrimitiveType>::Native> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
[src]
&self
) -> impl Iterator<Item = <T as ArrowPrimitiveType>::Native> + Send + Sync + ExactSizeIterator + DoubleEndedIterator
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 } }) } }
impl ChunkedArray<ListType>
[src]
impl ChunkedArray<ListType>
[src]pub fn inner_dtype(&self) -> DataType
[src]
Get the inner data type of the list.
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: IntoSeries,
<<T as ArrowPrimitiveType>::Native as Sub<<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]
impl<T> ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Num,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: Div<<T as ArrowPrimitiveType>::Native>,
ChunkedArray<T>: IntoSeries,
<<T as ArrowPrimitiveType>::Native as Sub<<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]We cannot override the left hand side behaviour. So we create a trait LhsNumOps. This allows for 1.add(&Series)
pub fn lhs_sub<N>(&self, lhs: N) -> ChunkedArray<T> where
N: Num + NumCast,
[src]
N: Num + NumCast,
Apply lhs - self
pub fn lhs_div<N>(&self, lhs: N) -> ChunkedArray<T> where
N: Num + NumCast,
[src]
N: Num + NumCast,
Apply lhs / self
pub fn lhs_rem<N>(&self, lhs: N) -> ChunkedArray<T> where
N: Num + NumCast,
[src]
N: Num + NumCast,
Apply lhs % self
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]
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]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]
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]
impl<'_, '_> Add<&'_ str> for &'_ ChunkedArray<Utf8Type>
[src]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]
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]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]
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]
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]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<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]
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]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<T> ArgAgg for ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> ArgAgg for ChunkedArray<T> where
T: PolarsNumericType,
[src]impl ArgAgg for ChunkedArray<BooleanType>
[src]
impl ArgAgg for ChunkedArray<BooleanType>
[src]impl ArgAgg for ChunkedArray<Utf8Type>
[src]
impl ArgAgg for ChunkedArray<Utf8Type>
[src]impl ArgAgg for ChunkedArray<ListType>
[src]
impl ArgAgg for ChunkedArray<ListType>
[src]impl ArgAgg for ChunkedArray<CategoricalType>
[src]
impl ArgAgg for ChunkedArray<CategoricalType>
[src]impl<T> ArgAgg for ChunkedArray<ObjectType<T>>
[src]
impl<T> ArgAgg for ChunkedArray<ObjectType<T>>
[src]impl AsNaiveDate for ChunkedArray<Date32Type>
[src]
impl AsNaiveDate for ChunkedArray<Date32Type>
[src]impl AsNaiveDateTime for ChunkedArray<Date64Type>
[src]
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]
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 AsNaiveTime for ChunkedArray<Time64NanosecondType>
[src]impl<T> AsRef<ChunkedArray<T>> for ChunkedArray<T>
[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]
impl<'a, T> AsRef<ChunkedArray<T>> for dyn SeriesTrait + 'a where
T: 'static + PolarsDataType,
[src]pub fn as_ref(&self) -> &ChunkedArray<T>
[src]
impl<'_> BitAnd<&'_ ChunkedArray<BooleanType>> for &'_ ChunkedArray<BooleanType>
[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]
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]
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]
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]
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]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<f64>
[src]
pub fn median(&self) -> Option<f64>
[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<Series> for ChunkedArray<ListType>
[src]
impl ChunkAgg<Series> for ChunkedArray<ListType>
[src]impl ChunkAgg<String> for ChunkedArray<Utf8Type>
[src]
impl ChunkAgg<String> for ChunkedArray<Utf8Type>
[src]impl ChunkAgg<u32> for ChunkedArray<BooleanType>
[src]
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<f64>
[src]
pub fn median(&self) -> Option<f64>
[src]
pub fn quantile(&self, _quantile: f64) -> Result<Option<T>, PolarsError>
[src]
impl ChunkAggSeries for ChunkedArray<BooleanType>
[src]
impl ChunkAggSeries for ChunkedArray<BooleanType>
[src]pub fn sum_as_series(&self) -> Series
[src]
pub fn max_as_series(&self) -> Series
[src]
pub fn min_as_series(&self) -> Series
[src]
pub fn mean_as_series(&self) -> Series
[src]
pub fn median_as_series(&self) -> Series
[src]
pub fn quantile_as_series(&self, _quantile: f64) -> Result<Series, PolarsError>
[src]
impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkAggSeries for ChunkedArray<ObjectType<T>>
[src]pub fn sum_as_series(&self) -> Series
[src]
pub fn max_as_series(&self) -> Series
[src]
pub fn min_as_series(&self) -> Series
[src]
pub fn mean_as_series(&self) -> Series
[src]
pub fn median_as_series(&self) -> Series
[src]
pub fn quantile_as_series(&self, _quantile: f64) -> Result<Series, PolarsError>
[src]
impl ChunkAggSeries for ChunkedArray<Utf8Type>
[src]
impl ChunkAggSeries for ChunkedArray<Utf8Type>
[src]pub fn sum_as_series(&self) -> Series
[src]
pub fn max_as_series(&self) -> Series
[src]
pub fn min_as_series(&self) -> Series
[src]
pub fn mean_as_series(&self) -> Series
[src]
pub fn median_as_series(&self) -> Series
[src]
pub fn quantile_as_series(&self, _quantile: f64) -> Result<Series, PolarsError>
[src]
impl ChunkAggSeries for ChunkedArray<ListType>
[src]
impl ChunkAggSeries for ChunkedArray<ListType>
[src]pub fn sum_as_series(&self) -> Series
[src]
pub fn max_as_series(&self) -> Series
[src]
pub fn min_as_series(&self) -> Series
[src]
pub fn mean_as_series(&self) -> Series
[src]
pub fn median_as_series(&self) -> Series
[src]
pub fn quantile_as_series(&self, _quantile: f64) -> Result<Series, PolarsError>
[src]
impl ChunkAggSeries for ChunkedArray<CategoricalType>
[src]
impl ChunkAggSeries for ChunkedArray<CategoricalType>
[src]pub fn sum_as_series(&self) -> Series
[src]
pub fn max_as_series(&self) -> Series
[src]
pub fn min_as_series(&self) -> Series
[src]
pub fn mean_as_series(&self) -> Series
[src]
pub fn median_as_series(&self) -> Series
[src]
pub fn quantile_as_series(&self, _quantile: f64) -> Result<Series, PolarsError>
[src]
impl<T> ChunkAggSeries 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,
ChunkedArray<T>: IntoSeries,
[src]
impl<T> ChunkAggSeries 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,
ChunkedArray<T>: IntoSeries,
[src]pub fn sum_as_series(&self) -> Series
[src]
pub fn max_as_series(&self) -> Series
[src]
pub fn min_as_series(&self) -> Series
[src]
pub fn mean_as_series(&self) -> Series
[src]
pub fn median_as_series(&self) -> Series
[src]
pub fn quantile_as_series(&self, quantile: f64) -> Result<Series, PolarsError>
[src]
impl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for ChunkedArray<Utf8Type>
[src]
impl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for ChunkedArray<Utf8Type>
[src]pub fn apply_cast_numeric<F, S>(&'a self, f: F) -> ChunkedArray<S> where
F: Fn(&'a str) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
F: Fn(&'a str) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
pub fn branch_apply_cast_numeric_no_null<F, S>(
&'a self,
f: F
) -> ChunkedArray<S> where
F: Fn(Option<&'a str>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
&'a self,
f: F
) -> ChunkedArray<S> where
F: Fn(Option<&'a str>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
pub fn apply<F>(&'a self, f: F) -> ChunkedArray<Utf8Type> where
F: Fn(&'a str) -> Cow<'a, str> + Copy,
[src]
F: Fn(&'a str) -> Cow<'a, str> + Copy,
pub fn apply_with_idx<F>(&'a self, f: F) -> ChunkedArray<Utf8Type> where
F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
[src]
F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
pub fn apply_with_idx_on_opt<F>(&'a self, f: F) -> ChunkedArray<Utf8Type> where
F: Fn((usize, Option<&'a str>)) -> Option<Cow<'a, str>> + Copy,
[src]
F: Fn((usize, Option<&'a str>)) -> Option<Cow<'a, str>> + Copy,
impl<'a, T> ChunkApply<'a, <T as ArrowPrimitiveType>::Native, <T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<'a, T> ChunkApply<'a, <T as ArrowPrimitiveType>::Native, <T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
[src]pub fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(<T as ArrowPrimitiveType>::Native) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
F: Fn(<T as ArrowPrimitiveType>::Native) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
pub fn branch_apply_cast_numeric_no_null<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
F: Fn(Option<<T as ArrowPrimitiveType>::Native>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: 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,
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]
impl<'a> ChunkApply<'a, Series, Series> for ChunkedArray<ListType>
[src]pub fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(Series) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
F: Fn(Series) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
pub fn branch_apply_cast_numeric_no_null<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(Option<Series>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
F: Fn(Option<Series>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
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]
impl<'a> ChunkApply<'a, bool, bool> for ChunkedArray<BooleanType>
[src]pub fn apply_cast_numeric<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(bool) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
F: Fn(bool) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
pub fn branch_apply_cast_numeric_no_null<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(Option<bool>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
[src]
F: Fn(Option<bool>) -> <S as ArrowPrimitiveType>::Native + Copy,
S: PolarsNumericType,
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<BooleanArray> for ChunkedArray<BooleanType>
[src]
impl ChunkApplyKernel<BooleanArray> for ChunkedArray<BooleanType>
[src]pub fn apply_kernel<F>(&self, f: F) -> ChunkedArray<BooleanType> where
F: Fn(&BooleanArray) -> Arc<dyn Array + 'static>,
[src]
F: Fn(&BooleanArray) -> Arc<dyn Array + 'static>,
pub fn apply_kernel_cast<F, S>(&self, f: F) -> ChunkedArray<S> where
F: Fn(&BooleanArray) -> Arc<dyn Array + 'static>,
S: PolarsDataType,
[src]
F: Fn(&BooleanArray) -> Arc<dyn Array + 'static>,
S: PolarsDataType,
impl ChunkApplyKernel<GenericStringArray<i64>> for ChunkedArray<Utf8Type>
[src]
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: PolarsNumericType,
[src]
impl<T> ChunkApplyKernel<PrimitiveArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
[src]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<ListType>
[src]
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]
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]
impl<T> ChunkCast for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: ToPrimitive,
[src]pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl ChunkCast for ChunkedArray<BooleanType>
[src]
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]
impl ChunkCast for ChunkedArray<CategoricalType>
[src]pub fn cast<N>(&self) -> Result<ChunkedArray<N>, PolarsError> where
N: PolarsDataType,
[src]
N: PolarsDataType,
impl<'_> ChunkCompare<&'_ ChunkedArray<BooleanType>> for ChunkedArray<BooleanType>
[src]
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]
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: NumComp,
[src]
impl<'_, T> ChunkCompare<&'_ ChunkedArray<T>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumComp,
[src]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]
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]
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]
impl<T, Rhs> ChunkCompare<Rhs> for ChunkedArray<T> where
T: PolarsNumericType,
Rhs: NumComp + ToPrimitive,
<T as ArrowPrimitiveType>::Native: NumCast,
[src]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]
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]
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]
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]
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]
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]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]
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]
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]
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]
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]
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]
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]pub fn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<T>
[src]
impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
[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]
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]
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]
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]
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<ListType>
[src]
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 ChunkFillNone for ChunkedArray<Utf8Type>
[src]
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<CategoricalType>
[src]
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<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: Zero,
<T as ArrowPrimitiveType>::Native: One,
<T as ArrowPrimitiveType>::Native: Bounded,
<<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]
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: Zero,
<T as ArrowPrimitiveType>::Native: One,
<T as ArrowPrimitiveType>::Native: Bounded,
<<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]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]
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]
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]
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]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]
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]
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]
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]
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]
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]
impl<T> ChunkFilter<ObjectType<T>> for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]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,
[src]
impl<T> ChunkFilter<T> for ChunkedArray<T> where
T: PolarsNumericType,
[src]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]
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<&'_ Series> for ChunkedArray<ListType>
[src]
impl<'_> ChunkFull<&'_ Series> for ChunkedArray<ListType>
[src]impl<'a> ChunkFull<&'a str> for ChunkedArray<Utf8Type>
[src]
impl<'a> ChunkFull<&'a str> for ChunkedArray<Utf8Type>
[src]impl<T> ChunkFull<<T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
impl<T> ChunkFull<<T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]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]
impl ChunkFull<bool> for ChunkedArray<BooleanType>
[src]pub fn full(name: &str, value: bool, length: usize) -> ChunkedArray<BooleanType>
[src]
impl ChunkFullNull for ChunkedArray<Utf8Type>
[src]
impl ChunkFullNull for ChunkedArray<Utf8Type>
[src]impl ChunkFullNull for ChunkedArray<ListType>
[src]
impl ChunkFullNull for ChunkedArray<ListType>
[src]impl ChunkFullNull for ChunkedArray<BooleanType>
[src]
impl ChunkFullNull for ChunkedArray<BooleanType>
[src]pub fn full_null(name: &str, length: usize) -> ChunkedArray<BooleanType>
[src]
impl<T> ChunkFullNull for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
impl<T> ChunkFullNull for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]pub fn full_null(name: &str, length: usize) -> ChunkedArray<T>
[src]
impl<T> ChunkIntegerDecode for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: IntegerDecode,
[src]
impl<T> ChunkIntegerDecode for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: IntegerDecode,
[src]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]
impl<T> ChunkOps for ChunkedArray<T> where
T: PolarsNumericType,
[src]pub fn rechunk(&self) -> ChunkedArray<T>
[src]
impl ChunkOps for ChunkedArray<CategoricalType>
[src]
impl ChunkOps for ChunkedArray<CategoricalType>
[src]pub fn rechunk(&self) -> ChunkedArray<CategoricalType> where
ChunkedArray<CategoricalType>: Sized,
[src]
ChunkedArray<CategoricalType>: Sized,
impl ChunkOps for ChunkedArray<BooleanType>
[src]
impl ChunkOps for ChunkedArray<BooleanType>
[src]pub fn rechunk(&self) -> ChunkedArray<BooleanType>
[src]
impl ChunkOps for ChunkedArray<ListType>
[src]
impl ChunkOps for ChunkedArray<ListType>
[src]pub fn rechunk(&self) -> ChunkedArray<ListType>
[src]
impl ChunkOps for ChunkedArray<Utf8Type>
[src]
impl ChunkOps for ChunkedArray<Utf8Type>
[src]pub fn rechunk(&self) -> ChunkedArray<Utf8Type>
[src]
impl<T> ChunkOps for ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]
impl<T> ChunkOps for ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]pub fn rechunk(&self) -> ChunkedArray<ObjectType<T>> where
ChunkedArray<ObjectType<T>>: Sized,
[src]
ChunkedArray<ObjectType<T>>: Sized,
impl ChunkPeaks for ChunkedArray<Utf8Type>
[src]
impl ChunkPeaks for ChunkedArray<Utf8Type>
[src]pub fn peak_max(&self) -> ChunkedArray<BooleanType>
[src]
pub fn peak_min(&self) -> ChunkedArray<BooleanType>
[src]
impl<T> ChunkPeaks for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumComp,
<T as ArrowPrimitiveType>::Native: Zero,
[src]
impl<T> ChunkPeaks for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: NumComp,
<T as ArrowPrimitiveType>::Native: Zero,
[src]pub fn peak_max(&self) -> ChunkedArray<BooleanType>
[src]
Get a boolean mask of the local maximum peaks.
pub fn peak_min(&self) -> ChunkedArray<BooleanType>
[src]
Get a boolean mask of the local minimum peaks.
impl ChunkPeaks for ChunkedArray<CategoricalType>
[src]
impl ChunkPeaks for ChunkedArray<CategoricalType>
[src]pub fn peak_max(&self) -> ChunkedArray<BooleanType>
[src]
pub fn peak_min(&self) -> ChunkedArray<BooleanType>
[src]
impl ChunkPeaks for ChunkedArray<ListType>
[src]
impl ChunkPeaks for ChunkedArray<ListType>
[src]pub fn peak_max(&self) -> ChunkedArray<BooleanType>
[src]
pub fn peak_min(&self) -> ChunkedArray<BooleanType>
[src]
impl<T> ChunkPeaks for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
impl<T> ChunkPeaks for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]pub fn peak_max(&self) -> ChunkedArray<BooleanType>
[src]
pub fn peak_min(&self) -> ChunkedArray<BooleanType>
[src]
impl ChunkPeaks for ChunkedArray<BooleanType>
[src]
impl ChunkPeaks for ChunkedArray<BooleanType>
[src]pub fn peak_max(&self) -> ChunkedArray<BooleanType>
[src]
pub fn peak_min(&self) -> ChunkedArray<BooleanType>
[src]
impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkReverse<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn reverse(&self) -> ChunkedArray<BooleanType>
[src]
impl ChunkReverse<CategoricalType> for ChunkedArray<CategoricalType>
[src]
impl ChunkReverse<CategoricalType> for ChunkedArray<CategoricalType>
[src]pub fn reverse(&self) -> ChunkedArray<CategoricalType>
[src]
impl ChunkReverse<ListType> for ChunkedArray<ListType>
[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]
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]
impl<T> ChunkReverse<T> for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkOps,
[src]pub fn reverse(&self) -> ChunkedArray<T>
[src]
impl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
[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]
impl<'a> ChunkSet<'a, &'a str, String> for ChunkedArray<Utf8Type>
[src]pub fn set_at_idx<I>(
&'a self,
idx: I,
opt_value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
I: IntoIterator<Item = usize>,
ChunkedArray<Utf8Type>: Sized,
[src]
&'a self,
idx: I,
opt_value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
I: IntoIterator<Item = usize>,
ChunkedArray<Utf8Type>: Sized,
pub fn set_at_idx_with<I, F>(
&'a self,
idx: I,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(Option<&'a str>) -> Option<String>,
I: IntoIterator<Item = usize>,
ChunkedArray<Utf8Type>: Sized,
[src]
&'a self,
idx: I,
f: F
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
F: Fn(Option<&'a str>) -> Option<String>,
I: IntoIterator<Item = usize>,
ChunkedArray<Utf8Type>: Sized,
pub fn set(
&'a self,
mask: &ChunkedArray<BooleanType>,
value: Option<&'a str>
) -> Result<ChunkedArray<Utf8Type>, PolarsError> where
ChunkedArray<Utf8Type>: Sized,
[src]
&'a self,
mask: &ChunkedArray<BooleanType>,
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]
impl<'a, T> ChunkSet<'a, <T as ArrowPrimitiveType>::Native, <T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsNumericType,
[src]pub fn set_at_idx<I>(
&'a self,
idx: I,
value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError> where
I: IntoIterator<Item = usize>,
[src]
&'a self,
idx: I,
value: Option<<T as ArrowPrimitiveType>::Native>
) -> Result<ChunkedArray<T>, PolarsError> where
I: IntoIterator<Item = usize>,
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: IntoIterator<Item = usize>,
[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: IntoIterator<Item = usize>,
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]
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: IntoIterator<Item = usize>,
[src]
&'a self,
idx: I,
value: Option<bool>
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
I: IntoIterator<Item = usize>,
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: IntoIterator<Item = usize>,
[src]
&'a self,
idx: I,
f: F
) -> Result<ChunkedArray<BooleanType>, PolarsError> where
F: Fn(Option<bool>) -> Option<bool>,
I: IntoIterator<Item = usize>,
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]
impl ChunkShift<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn shift(&self, periods: i64) -> ChunkedArray<BooleanType>
[src]
impl ChunkShift<CategoricalType> for ChunkedArray<CategoricalType>
[src]
impl ChunkShift<CategoricalType> for ChunkedArray<CategoricalType>
[src]pub fn shift(&self, periods: i64) -> ChunkedArray<CategoricalType>
[src]
impl ChunkShift<ListType> for ChunkedArray<ListType>
[src]
impl ChunkShift<ListType> for ChunkedArray<ListType>
[src]pub fn shift(&self, periods: i64) -> ChunkedArray<ListType>
[src]
impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkShift<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]pub fn shift(&self, periods: i64) -> ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkShift<T> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
[src]
impl<T> ChunkShift<T> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
[src]pub fn shift(&self, periods: i64) -> ChunkedArray<T>
[src]
impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
[src]
impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
[src]pub fn shift(&self, periods: i64) -> ChunkedArray<Utf8Type>
[src]
impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
[src]
impl ChunkShiftFill<BooleanType, Option<bool>> for ChunkedArray<BooleanType>
[src]pub fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<bool>
) -> ChunkedArray<BooleanType>
[src]
&self,
periods: i64,
fill_value: Option<bool>
) -> ChunkedArray<BooleanType>
impl<'_> ChunkShiftFill<ListType, Option<&'_ Series>> for ChunkedArray<ListType>
[src]
impl<'_> ChunkShiftFill<ListType, Option<&'_ Series>> for ChunkedArray<ListType>
[src]pub fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&Series>
) -> ChunkedArray<ListType>
[src]
&self,
periods: i64,
fill_value: Option<&Series>
) -> ChunkedArray<ListType>
impl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkShiftFill<ObjectType<T>, Option<ObjectType<T>>> for ChunkedArray<ObjectType<T>>
[src]pub fn shift_and_fill(
&self,
_periods: i64,
_fill_value: Option<ObjectType<T>>
) -> ChunkedArray<ObjectType<T>>
[src]
&self,
_periods: i64,
_fill_value: Option<ObjectType<T>>
) -> ChunkedArray<ObjectType<T>>
impl<T> ChunkShiftFill<T, Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
[src]
impl<T> ChunkShiftFill<T, Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: Copy,
[src]pub fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<<T as ArrowPrimitiveType>::Native>
) -> ChunkedArray<T>
[src]
&self,
periods: i64,
fill_value: Option<<T as ArrowPrimitiveType>::Native>
) -> ChunkedArray<T>
impl<'_> ChunkShiftFill<Utf8Type, Option<&'_ str>> for ChunkedArray<Utf8Type>
[src]
impl<'_> ChunkShiftFill<Utf8Type, Option<&'_ str>> for ChunkedArray<Utf8Type>
[src]pub fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&str>
) -> ChunkedArray<Utf8Type>
[src]
&self,
periods: i64,
fill_value: Option<&str>
) -> ChunkedArray<Utf8Type>
impl ChunkSort<BooleanType> for ChunkedArray<BooleanType>
[src]
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) -> ChunkedArray<UInt32Type>
[src]
impl ChunkSort<CategoricalType> for ChunkedArray<CategoricalType>
[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) -> ChunkedArray<UInt32Type>
[src]
impl ChunkSort<ListType> for ChunkedArray<ListType>
[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) -> ChunkedArray<UInt32Type>
[src]
impl<T> ChunkSort<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[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) -> ChunkedArray<UInt32Type>
[src]
impl<T> ChunkSort<T> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
[src]
impl<T> ChunkSort<T> for ChunkedArray<T> where
T: PolarsNumericType,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
[src]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) -> ChunkedArray<UInt32Type>
[src]
impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
[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) -> ChunkedArray<UInt32Type>
[src]
impl ChunkTake for ChunkedArray<ListType>
[src]
impl ChunkTake for ChunkedArray<ListType>
[src]pub unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ListType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ListType>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ListType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ListType>: Sized,
pub fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ListType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ListType>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ListType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ListType>: Sized,
impl ChunkTake for ChunkedArray<BooleanType>
[src]
impl ChunkTake for ChunkedArray<BooleanType>
[src]pub unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<BooleanType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<BooleanType>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<BooleanType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<BooleanType>: Sized,
pub fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<BooleanType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<BooleanType>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<BooleanType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<BooleanType>: Sized,
impl ChunkTake for ChunkedArray<Utf8Type>
[src]
impl ChunkTake for ChunkedArray<Utf8Type>
[src]pub unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<Utf8Type> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<Utf8Type>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<Utf8Type> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<Utf8Type>: Sized,
pub fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<Utf8Type> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<Utf8Type>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<Utf8Type> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<Utf8Type>: Sized,
impl<T> ChunkTake for ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> ChunkTake for ChunkedArray<T> where
T: PolarsNumericType,
[src]pub unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<T> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<T>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<T> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<T>: Sized,
pub fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<T> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<T>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<T> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<T>: Sized,
impl ChunkTake for ChunkedArray<CategoricalType>
[src]
impl ChunkTake for ChunkedArray<CategoricalType>
[src]pub unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<CategoricalType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<CategoricalType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<CategoricalType>: Sized,
pub fn take<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<CategoricalType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<CategoricalType>: Sized,
[src]
&self,
indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<CategoricalType> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<CategoricalType>: Sized,
impl<T> ChunkTake for ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkTake for ChunkedArray<ObjectType<T>>
[src]pub unsafe fn take_unchecked<I, INulls>(
&self,
_indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ObjectType<T>> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ObjectType<T>>: Sized,
[src]
&self,
_indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ObjectType<T>> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ObjectType<T>>: Sized,
pub fn take<I, INulls>(
&self,
_indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ObjectType<T>> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ObjectType<T>>: Sized,
[src]
&self,
_indices: TakeIdx<'_, I, INulls>
) -> ChunkedArray<ObjectType<T>> where
I: Iterator<Item = usize>,
INulls: Iterator<Item = Option<usize>>,
ChunkedArray<ObjectType<T>>: Sized,
impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
[src]
impl ChunkTakeEvery<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn take_every(&self, n: usize) -> ChunkedArray<BooleanType>
[src]
impl ChunkTakeEvery<CategoricalType> for ChunkedArray<CategoricalType>
[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]
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]
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]
impl<T> ChunkTakeEvery<T> for ChunkedArray<T> where
T: PolarsNumericType,
[src]pub fn take_every(&self, n: usize) -> ChunkedArray<T>
[src]
impl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
[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]
impl ChunkUnique<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, 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]
impl ChunkUnique<CategoricalType> for ChunkedArray<CategoricalType>
[src]pub fn unique(&self) -> Result<ChunkedArray<CategoricalType>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, 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]
impl ChunkUnique<Float32Type> for ChunkedArray<Float32Type>
[src]pub fn unique(&self) -> Result<ChunkedArray<Float32Type>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, 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]
impl ChunkUnique<Float64Type> for ChunkedArray<Float64Type>
[src]pub fn unique(&self) -> Result<ChunkedArray<Float64Type>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, 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]
impl ChunkUnique<ListType> for ChunkedArray<ListType>
[src]pub fn unique(&self) -> Result<ChunkedArray<ListType>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, 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]
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<ChunkedArray<UInt32Type>, 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]
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]pub fn unique(&self) -> Result<ChunkedArray<T>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, 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]
impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
[src]pub fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
[src]
pub fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, 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<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkVar<Series> for ChunkedArray<ObjectType<T>>
[src]impl ChunkVar<Series> for ChunkedArray<ListType>
[src]
impl ChunkVar<Series> for ChunkedArray<ListType>
[src]impl ChunkVar<String> for ChunkedArray<Utf8Type>
[src]
impl ChunkVar<String> for ChunkedArray<Utf8Type>
[src]impl ChunkVar<bool> for ChunkedArray<BooleanType>
[src]
impl ChunkVar<bool> for ChunkedArray<BooleanType>
[src]impl ChunkVar<f32> for ChunkedArray<Float32Type>
[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]
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]impl ChunkVar<f64> for ChunkedArray<Float64Type>
[src]
impl ChunkVar<f64> for ChunkedArray<Float64Type>
[src]impl ChunkVar<u32> for ChunkedArray<CategoricalType>
[src]
impl ChunkVar<u32> for ChunkedArray<CategoricalType>
[src]impl<T> ChunkWindow for ChunkedArray<ObjectType<T>>
[src]
impl<T> ChunkWindow for ChunkedArray<ObjectType<T>>
[src]pub fn rolling_sum(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
impl<T> ChunkWindow 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: Bounded,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: One,
<T as ArrowPrimitiveType>::Native: Copy,
<<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]
impl<T> ChunkWindow 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: Bounded,
<T as ArrowPrimitiveType>::Native: NumCast,
<T as ArrowPrimitiveType>::Native: PartialOrd<<T as ArrowPrimitiveType>::Native>,
<T as ArrowPrimitiveType>::Native: One,
<T as ArrowPrimitiveType>::Native: Copy,
<<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]pub fn rolling_sum(
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
pub fn rolling_mean(
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
pub fn rolling_min(
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
pub fn rolling_max(
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
[src]
&self,
window_size: u32,
weight: Option<&[f64]>,
ignore_null: bool,
min_periods: u32
) -> Result<ChunkedArray<T>, PolarsError>
impl ChunkWindow for ChunkedArray<ListType>
[src]
impl ChunkWindow for ChunkedArray<ListType>
[src]pub fn rolling_sum(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
impl ChunkWindow for ChunkedArray<CategoricalType>
[src]
impl ChunkWindow for ChunkedArray<CategoricalType>
[src]pub fn rolling_sum(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
impl ChunkWindow for ChunkedArray<BooleanType>
[src]
impl ChunkWindow for ChunkedArray<BooleanType>
[src]pub fn rolling_sum(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
impl ChunkWindow for ChunkedArray<Utf8Type>
[src]
impl ChunkWindow for ChunkedArray<Utf8Type>
[src]pub fn rolling_sum(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_mean(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_min(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
pub fn rolling_max(
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> Result<Self, PolarsError>
[src]
&self,
_window_size: u32,
_weight: Option<&[f64]>,
_ignore_null: bool,
_min_periods: u32
) -> 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: One,
<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]
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: One,
<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]pub fn rolling_custom<F>(
&self,
window_size: u32,
weight: Option<&[f64]>,
fold_fn: F,
init_fold: InitFold,
min_periods: u32
) -> 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: u32,
weight: Option<&[f64]>,
fold_fn: F,
init_fold: InitFold,
min_periods: u32
) -> 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]
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>
impl ChunkZip<CategoricalType> for ChunkedArray<CategoricalType>
[src]
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>
impl ChunkZip<ListType> for ChunkedArray<ListType>
[src]
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>
impl<T> ChunkZip<ObjectType<T>> for ChunkedArray<ObjectType<T>>
[src]
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>
impl<T> ChunkZip<T> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> ChunkZip<T> for ChunkedArray<T> where
T: PolarsNumericType,
[src]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>
impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
[src]
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>
impl<T> Clone for ChunkedArray<T>
[src]
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<T> Debug for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
impl<T> Debug for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]impl<T> Debug for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
impl<T> Debug for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]impl Debug for ChunkedArray<BooleanType>
[src]
impl Debug for ChunkedArray<BooleanType>
[src]impl Debug for ChunkedArray<CategoricalType>
[src]
impl Debug for ChunkedArray<CategoricalType>
[src]impl Debug for ChunkedArray<Utf8Type>
[src]
impl Debug for ChunkedArray<Utf8Type>
[src]impl Debug for ChunkedArray<ListType>
[src]
impl Debug for ChunkedArray<ListType>
[src]impl<T> Default for ChunkedArray<T>
[src]
impl<T> Default for ChunkedArray<T>
[src]pub fn default() -> ChunkedArray<T>
[src]
impl Deref for ChunkedArray<CategoricalType>
[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]
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]
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]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]
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]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: One,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
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: One,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]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<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: One,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]
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: One,
<T as ArrowPrimitiveType>::Native: Zero,
<T as ArrowPrimitiveType>::Native: Sub<<T as ArrowPrimitiveType>::Native>,
<<T as ArrowPrimitiveType>::Native as Div<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
<<T as ArrowPrimitiveType>::Native as Sub<<T as ArrowPrimitiveType>::Native>>::Output == <T as ArrowPrimitiveType>::Native,
[src]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<'a> From<&'a ChunkedArray<UInt32Type>> for TakeIdx<'a, Once<usize>, Once<Option<usize>>>
[src]
impl<'a> From<&'a ChunkedArray<UInt32Type>> for TakeIdx<'a, Once<usize>, Once<Option<usize>>>
[src]pub fn from(
ca: &'a ChunkedArray<UInt32Type>
) -> TakeIdx<'a, Once<usize>, Once<Option<usize>>>
[src]
ca: &'a ChunkedArray<UInt32Type>
) -> TakeIdx<'a, Once<usize>, Once<Option<usize>>>
impl<T> From<ChunkedArray<T>> for Series where
T: PolarsDataType,
ChunkedArray<T>: IntoSeries,
[src]
impl<T> From<ChunkedArray<T>> for Series where
T: PolarsDataType,
ChunkedArray<T>: IntoSeries,
[src]pub fn from(ca: ChunkedArray<T>) -> Series
[src]
impl From<ChunkedArray<UInt32Type>> for ChunkedArray<CategoricalType>
[src]
impl From<ChunkedArray<UInt32Type>> for ChunkedArray<CategoricalType>
[src]pub fn from(ca: ChunkedArray<UInt32Type>) -> ChunkedArray<CategoricalType>
[src]
impl<T> FromIterator<(AlignedVec<<T as ArrowPrimitiveType>::Native>, Option<Buffer>)> for ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> FromIterator<(AlignedVec<<T as ArrowPrimitiveType>::Native>, Option<Buffer>)> for ChunkedArray<T> where
T: PolarsNumericType,
[src]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<T> FromIterator<Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
impl<T> FromIterator<Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]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<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<Utf8Type> where
Ptr: AsRef<str>,
[src]
impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<Utf8Type> where
Ptr: AsRef<str>,
[src]pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = Option<Ptr>>,
[src]
I: IntoIterator<Item = Option<Ptr>>,
impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
[src]
impl<Ptr> FromIterator<Option<Ptr>> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
[src]pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Option<Ptr>>,
[src]
I: IntoIterator<Item = Option<Ptr>>,
impl FromIterator<Option<bool>> for ChunkedArray<BooleanType>
[src]
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<Ptr> FromIterator<Ptr> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
[src]
impl<Ptr> FromIterator<Ptr> for ChunkedArray<ListType> where
Ptr: Borrow<Series>,
[src]pub fn from_iter<I>(iter: I) -> ChunkedArray<ListType> where
I: IntoIterator<Item = Ptr>,
[src]
I: IntoIterator<Item = Ptr>,
impl<Ptr> FromIterator<Ptr> for ChunkedArray<Utf8Type> where
Ptr: PolarsAsRef<str>,
[src]
impl<Ptr> FromIterator<Ptr> for ChunkedArray<Utf8Type> where
Ptr: PolarsAsRef<str>,
[src]pub fn from_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoIterator<Item = Ptr>,
[src]
I: IntoIterator<Item = Ptr>,
impl FromIterator<bool> for ChunkedArray<BooleanType>
[src]
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]
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]
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]
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<T> FromParallelIterator<Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
impl<T> FromParallelIterator<Option<<T as ArrowPrimitiveType>::Native>> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]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<Ptr> FromParallelIterator<Option<Ptr>> for ChunkedArray<Utf8Type> where
Ptr: AsRef<str> + Send + Sync,
[src]
impl<Ptr> FromParallelIterator<Option<Ptr>> for ChunkedArray<Utf8Type> where
Ptr: AsRef<str> + Send + Sync,
[src]pub fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoParallelIterator<Item = Option<Ptr>>,
[src]
I: IntoParallelIterator<Item = Option<Ptr>>,
impl<Ptr> FromParallelIterator<Ptr> for ChunkedArray<Utf8Type> where
Ptr: PolarsAsRef<str> + Send + Sync,
[src]
impl<Ptr> FromParallelIterator<Ptr> for ChunkedArray<Utf8Type> where
Ptr: PolarsAsRef<str> + Send + Sync,
[src]pub fn from_par_iter<I>(iter: I) -> ChunkedArray<Utf8Type> where
I: IntoParallelIterator<Item = Ptr>,
[src]
I: IntoParallelIterator<Item = Ptr>,
impl FromParallelIterator<bool> for ChunkedArray<BooleanType>
[src]
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<T> IntoGroupTuples for ChunkedArray<T> where
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Eq,
<T as ArrowPrimitiveType>::Native: Hash,
<T as ArrowPrimitiveType>::Native: Send,
[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]impl IntoGroupTuples for ChunkedArray<Float64Type>
[src]
impl IntoGroupTuples for ChunkedArray<Float64Type>
[src]impl IntoGroupTuples for ChunkedArray<Float32Type>
[src]
impl IntoGroupTuples for ChunkedArray<Float32Type>
[src]impl IntoGroupTuples for ChunkedArray<ListType>
[src]
impl IntoGroupTuples for ChunkedArray<ListType>
[src]impl IntoGroupTuples for ChunkedArray<BooleanType>
[src]
impl IntoGroupTuples for ChunkedArray<BooleanType>
[src]impl IntoGroupTuples for ChunkedArray<Utf8Type>
[src]
impl IntoGroupTuples for ChunkedArray<Utf8Type>
[src]impl<T> IntoGroupTuples for ChunkedArray<ObjectType<T>>
[src]
impl<T> IntoGroupTuples for ChunkedArray<ObjectType<T>>
[src]impl IntoGroupTuples for ChunkedArray<CategoricalType>
[src]
impl IntoGroupTuples for ChunkedArray<CategoricalType>
[src]impl<'a, T> IntoIterator for &'a ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<'a, T> IntoIterator for &'a ChunkedArray<T> where
T: PolarsNumericType,
[src]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<BooleanType>
[src]
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
impl<'a> IntoIterator for &'a ChunkedArray<CategoricalType>
[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]
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]
impl<'a> IntoIterator for &'a ChunkedArray<Utf8Type>
[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]
impl IntoSeries for ChunkedArray<UInt8Type>
[src]
impl IntoSeries for ChunkedArray<UInt8Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Date64Type>
[src]
impl IntoSeries for ChunkedArray<Date64Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Utf8Type>
[src]
impl IntoSeries for ChunkedArray<Utf8Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Int32Type>
[src]
impl IntoSeries for ChunkedArray<Int32Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Date32Type>
[src]
impl IntoSeries for ChunkedArray<Date32Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Float32Type>
[src]
impl IntoSeries for ChunkedArray<Float32Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<UInt16Type>
[src]
impl IntoSeries for ChunkedArray<UInt16Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<DurationMillisecondType>
[src]
impl IntoSeries for ChunkedArray<DurationMillisecondType>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<UInt64Type>
[src]
impl IntoSeries for ChunkedArray<UInt64Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Int64Type>
[src]
impl IntoSeries for ChunkedArray<Int64Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<DurationNanosecondType>
[src]
impl IntoSeries for ChunkedArray<DurationNanosecondType>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<CategoricalType>
[src]
impl IntoSeries for ChunkedArray<CategoricalType>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<BooleanType>
[src]
impl IntoSeries for ChunkedArray<BooleanType>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Int8Type>
[src]
impl IntoSeries for ChunkedArray<Int8Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<ListType>
[src]
impl IntoSeries for ChunkedArray<ListType>
[src]pub fn into_series(self) -> Series
[src]
impl<T> IntoSeries for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]
impl<T> IntoSeries for ChunkedArray<ObjectType<T>> where
T: 'static + Debug + Clone + Send + Sync + Default,
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Float64Type>
[src]
impl IntoSeries for ChunkedArray<Float64Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Time64NanosecondType>
[src]
impl IntoSeries for ChunkedArray<Time64NanosecondType>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<Int16Type>
[src]
impl IntoSeries for ChunkedArray<Int16Type>
[src]pub fn into_series(self) -> Series
[src]
impl IntoSeries for ChunkedArray<UInt32Type>
[src]
impl IntoSeries for ChunkedArray<UInt32Type>
[src]pub fn into_series(self) -> Series
[src]
impl<'a> IntoTakeRandom<'a> for &'a ChunkedArray<BooleanType>
[src]
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, T> IntoTakeRandom<'a> for &'a ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<'a, T> IntoTakeRandom<'a> for &'a ChunkedArray<T> where
T: PolarsNumericType,
[src]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<Utf8Type>
[src]
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<'a> IntoTakeRandom<'a> for &'a ChunkedArray<ListType>
[src]
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 IsIn for ChunkedArray<CategoricalType>
[src]
impl IsIn for ChunkedArray<CategoricalType>
[src]pub fn is_in(
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl IsIn for ChunkedArray<Utf8Type>
[src]
impl IsIn for ChunkedArray<Utf8Type>
[src]pub fn is_in(
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl IsIn for ChunkedArray<BooleanType>
[src]
impl IsIn for ChunkedArray<BooleanType>
[src]pub fn is_in(
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl IsIn for ChunkedArray<ListType>
[src]
impl IsIn for ChunkedArray<ListType>
[src]pub fn is_in(
&self,
_list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
_list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl<T> IsIn for ChunkedArray<T> where
T: PolarsNumericType,
[src]
impl<T> IsIn for ChunkedArray<T> where
T: PolarsNumericType,
[src]pub fn is_in(
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
[src]
&self,
list_array: &ChunkedArray<ListType>
) -> Result<ChunkedArray<BooleanType>, PolarsError>
impl<T> IsNan for ChunkedArray<T> where
T: PolarsFloatType,
<T as ArrowPrimitiveType>::Native: Float,
[src]
impl<T> IsNan for ChunkedArray<T> where
T: PolarsFloatType,
<T as ArrowPrimitiveType>::Native: Float,
[src]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]
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]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]
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]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]
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]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<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]
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]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]
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]
impl<T> NewChunkedArray<ObjectType<T>, T> for ChunkedArray<ObjectType<T>> where
T: Any + Debug + Clone + Send + Sync + Default,
[src]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]
impl<T> NewChunkedArray<T, <T as ArrowPrimitiveType>::Native> for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]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]
impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type> where
S: AsRef<str>,
[src]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]
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]
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<ListType>
[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]
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]
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]
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]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<CategoricalType>
[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 Pow for ChunkedArray<BooleanType>
[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 Pow for ChunkedArray<Utf8Type>
[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<ListType>
[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<T> Pow for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkCast,
[src]
impl<T> Pow for ChunkedArray<T> where
T: PolarsNumericType,
ChunkedArray<T>: ChunkCast,
[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]
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> 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]
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]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]
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]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]
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]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, 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]
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]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]
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]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]
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]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]
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]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<'_, 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]
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]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 TakeRandom for ChunkedArray<ListType>
[src]
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<'a, T> TakeRandom for &'a ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
impl<'a, T> TakeRandom for &'a ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]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<'a> TakeRandom for &'a ChunkedArray<Utf8Type>
[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<CategoricalType>
[src]
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 TakeRandom for ChunkedArray<BooleanType>
[src]
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<T> TakeRandom for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]
impl<T> TakeRandom for ChunkedArray<T> where
T: PolarsPrimitiveType,
[src]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> TakeRandomUtf8 for &'a ChunkedArray<Utf8Type>
[src]
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]
impl ToDummies<BooleanType> for ChunkedArray<BooleanType>
[src]pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<CategoricalType> for ChunkedArray<CategoricalType>
[src]
impl ToDummies<CategoricalType> for ChunkedArray<CategoricalType>
[src]pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<Float32Type> for ChunkedArray<Float32Type>
[src]
impl ToDummies<Float32Type> for ChunkedArray<Float32Type>
[src]pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<Float64Type> for ChunkedArray<Float64Type>
[src]
impl ToDummies<Float64Type> for ChunkedArray<Float64Type>
[src]pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<ListType> for ChunkedArray<ListType>
[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]
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]
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]pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ToDummies<Utf8Type> for ChunkedArray<Utf8Type>
[src]
impl ToDummies<Utf8Type> for ChunkedArray<Utf8Type>
[src]pub fn to_dummies(&self) -> Result<DataFrame, PolarsError>
[src]
impl ValueSize for ChunkedArray<Utf8Type>
[src]
impl ValueSize for ChunkedArray<Utf8Type>
[src]pub fn get_values_size(&self) -> usize
[src]
impl ValueSize for ChunkedArray<ListType>
[src]
impl ValueSize for ChunkedArray<ListType>
[src]pub fn get_values_size(&self) -> usize
[src]
impl<T> VarAggSeries 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]
impl<T> VarAggSeries 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]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl<T> VarAggSeries for ChunkedArray<ObjectType<T>>
[src]
impl<T> VarAggSeries for ChunkedArray<ObjectType<T>>
[src]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl VarAggSeries for ChunkedArray<BooleanType>
[src]
impl VarAggSeries for ChunkedArray<BooleanType>
[src]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl VarAggSeries for ChunkedArray<Float64Type>
[src]
impl VarAggSeries for ChunkedArray<Float64Type>
[src]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl VarAggSeries for ChunkedArray<ListType>
[src]
impl VarAggSeries for ChunkedArray<ListType>
[src]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl VarAggSeries for ChunkedArray<CategoricalType>
[src]
impl VarAggSeries for ChunkedArray<CategoricalType>
[src]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl VarAggSeries for ChunkedArray<Utf8Type>
[src]
impl VarAggSeries for ChunkedArray<Utf8Type>
[src]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl VarAggSeries for ChunkedArray<Float32Type>
[src]
impl VarAggSeries for ChunkedArray<Float32Type>
[src]pub fn var_as_series(&self) -> Series
[src]
pub fn std_as_series(&self) -> Series
[src]
impl VecHash for ChunkedArray<ListType>
[src]
impl VecHash for ChunkedArray<ListType>
[src]pub fn vec_hash(&self, _random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<Utf8Type>
[src]
impl VecHash for ChunkedArray<Utf8Type>
[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]
impl<T> VecHash for ChunkedArray<T> where
T: PolarsIntegerType,
<T as ArrowPrimitiveType>::Native: Hash,
[src]pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<Float32Type>
[src]
impl VecHash for ChunkedArray<Float32Type>
[src]pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<BooleanType>
[src]
impl VecHash for ChunkedArray<BooleanType>
[src]pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl VecHash for ChunkedArray<Float64Type>
[src]
impl VecHash for ChunkedArray<Float64Type>
[src]pub fn vec_hash(&self, random_state: RandomState) -> ChunkedArray<UInt64Type>
[src]
impl ZipOuterJoinColumn for ChunkedArray<Float64Type>
[src]
impl ZipOuterJoinColumn for ChunkedArray<Float64Type>
[src]impl ZipOuterJoinColumn for ChunkedArray<ListType>
[src]
impl ZipOuterJoinColumn for ChunkedArray<ListType>
[src]impl<T> ZipOuterJoinColumn for ChunkedArray<ObjectType<T>>
[src]
impl<T> ZipOuterJoinColumn for ChunkedArray<ObjectType<T>>
[src]impl ZipOuterJoinColumn for ChunkedArray<Utf8Type>
[src]
impl ZipOuterJoinColumn for ChunkedArray<Utf8Type>
[src]impl ZipOuterJoinColumn for ChunkedArray<Float32Type>
[src]
impl ZipOuterJoinColumn for ChunkedArray<Float32Type>
[src]impl<T> ZipOuterJoinColumn for ChunkedArray<T> where
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
[src]
impl<T> ZipOuterJoinColumn for ChunkedArray<T> where
T: PolarsIntegerType,
ChunkedArray<T>: IntoSeries,
[src]impl ZipOuterJoinColumn for ChunkedArray<BooleanType>
[src]
impl ZipOuterJoinColumn for ChunkedArray<BooleanType>
[src]Auto Trait Implementations
impl<T> !RefUnwindSafe for ChunkedArray<T>
impl<T> !RefUnwindSafe for ChunkedArray<T>
impl<T> Send for ChunkedArray<T> where
T: Send,
impl<T> Send for ChunkedArray<T> where
T: Send,
impl<T> Sync for ChunkedArray<T> where
T: Sync,
impl<T> Sync for ChunkedArray<T> where
T: Sync,
impl<T> Unpin for ChunkedArray<T> where
T: Unpin,
impl<T> Unpin for ChunkedArray<T> where
T: Unpin,
impl<T> !UnwindSafe for ChunkedArray<T>
impl<T> !UnwindSafe for ChunkedArray<T>
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
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]
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]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,