Type Definition polars_core::datatypes::Utf8Chunked
source · [−]pub type Utf8Chunked = ChunkedArray<Utf8Type>;
Implementations
sourceimpl Utf8Chunked
impl Utf8Chunked
pub fn par_iter_indexed(
&self
) -> impl IndexedParallelIterator<Item = Option<&str>>
pub fn par_iter(&self) -> impl ParallelIterator<Item = Option<&str>> + '_
sourceimpl Utf8Chunked
impl Utf8Chunked
pub fn hex_decode(&self, strict: Option<bool>) -> PolarsResult<Utf8Chunked>
pub fn hex_encode(&self) -> Utf8Chunked
pub fn base64_decode(&self, strict: Option<bool>) -> PolarsResult<Utf8Chunked>
pub fn base64_encode(&self) -> Utf8Chunked
Trait Implementations
sourceimpl Add<&ChunkedArray<Utf8Type>> for &Utf8Chunked
impl Add<&ChunkedArray<Utf8Type>> for &Utf8Chunked
sourceimpl Add<&str> for &Utf8Chunked
impl Add<&str> for &Utf8Chunked
sourceimpl Add<ChunkedArray<Utf8Type>> for Utf8Chunked
impl Add<ChunkedArray<Utf8Type>> for Utf8Chunked
sourceimpl AggList for Utf8Chunked
impl AggList for Utf8Chunked
sourceunsafe fn agg_list(&self, groups: &GroupsProxy) -> Series
unsafe fn agg_list(&self, groups: &GroupsProxy) -> Series
Safety Read more
sourceimpl ArgAgg for Utf8Chunked
impl ArgAgg for Utf8Chunked
sourceimpl ChunkAggSeries for Utf8Chunked
impl ChunkAggSeries for Utf8Chunked
sourcefn sum_as_series(&self) -> Series
fn sum_as_series(&self) -> Series
Get the sum of the ChunkedArray as a new Series of length 1.
sourcefn max_as_series(&self) -> Series
fn max_as_series(&self) -> Series
Get the max of the ChunkedArray as a new Series of length 1.
sourcefn min_as_series(&self) -> Series
fn min_as_series(&self) -> Series
Get the min of the ChunkedArray as a new Series of length 1.
sourcefn prod_as_series(&self) -> Series
fn prod_as_series(&self) -> Series
Get the product of the ChunkedArray as a new Series of length 1.
sourceimpl ChunkAnyValue for Utf8Chunked
impl ChunkAnyValue for Utf8Chunked
sourceunsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
unsafe fn get_any_value_unchecked(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
If you need to use this slightly performant, cast Categorical to UInt32 Read more
sourcefn get_any_value(&self, index: usize) -> AnyValue<'_>
fn get_any_value(&self, index: usize) -> AnyValue<'_>
Get a single value. Beware this is slow.
sourceimpl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for Utf8Chunked
impl<'a> ChunkApply<'a, &'a str, Cow<'a, str>> for Utf8Chunked
sourcefn apply_cast_numeric<F, S>(&'a self, f: F) -> ChunkedArray<S>where
F: Fn(&'a str) -> S::Native + Copy,
S: PolarsNumericType,
fn apply_cast_numeric<F, S>(&'a self, f: F) -> ChunkedArray<S>where
F: Fn(&'a str) -> S::Native + Copy,
S: PolarsNumericType,
Apply a closure elementwise and cast to a Numeric ChunkedArray. This is fastest when the null check branching is more expensive
than the closure application. Read more
sourcefn branch_apply_cast_numeric_no_null<F, S>(&'a self, f: F) -> ChunkedArray<S>where
F: Fn(Option<&'a str>) -> S::Native + Copy,
S: PolarsNumericType,
fn branch_apply_cast_numeric_no_null<F, S>(&'a self, f: F) -> ChunkedArray<S>where
F: Fn(Option<&'a str>) -> S::Native + Copy,
S: PolarsNumericType,
Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
sourcefn apply<F>(&'a self, f: F) -> Selfwhere
F: Fn(&'a str) -> Cow<'a, str> + Copy,
fn apply<F>(&'a self, f: F) -> Selfwhere
F: Fn(&'a str) -> Cow<'a, str> + Copy,
Apply a closure elementwise. This is fastest when the null check branching is more expensive
than the closure application. Often it is. Read more
fn try_apply<F>(&'a self, f: F) -> PolarsResult<Self>where
F: Fn(&'a str) -> PolarsResult<Cow<'a, str>> + Copy,
sourcefn apply_on_opt<F>(&'a self, f: F) -> Selfwhere
F: Fn(Option<&'a str>) -> Option<Cow<'a, str>> + Copy,
fn apply_on_opt<F>(&'a self, f: F) -> Selfwhere
F: Fn(Option<&'a str>) -> Option<Cow<'a, str>> + Copy,
Apply a closure elementwise including null values.
sourcefn apply_with_idx<F>(&'a self, f: F) -> Selfwhere
F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
fn apply_with_idx<F>(&'a self, f: F) -> Selfwhere
F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourceimpl ChunkApplyKernel<Utf8Array<i64>> for Utf8Chunked
impl ChunkApplyKernel<Utf8Array<i64>> for Utf8Chunked
sourcefn apply_kernel(&self, f: &dyn Fn(&LargeStringArray) -> ArrayRef) -> Self
fn apply_kernel(&self, f: &dyn Fn(&LargeStringArray) -> ArrayRef) -> Self
Apply kernel and return result as a new ChunkedArray.
sourcefn apply_kernel_cast<S>(
&self,
f: &dyn Fn(&LargeStringArray) -> ArrayRef
) -> ChunkedArray<S>where
S: PolarsDataType,
fn apply_kernel_cast<S>(
&self,
f: &dyn Fn(&LargeStringArray) -> ArrayRef
) -> ChunkedArray<S>where
S: PolarsDataType,
Apply a kernel that outputs an array of different type.
sourceimpl ChunkCast for Utf8Chunked
impl ChunkCast for Utf8Chunked
sourcefn cast(&self, data_type: &DataType) -> PolarsResult<Series>
fn cast(&self, data_type: &DataType) -> PolarsResult<Series>
Cast a
[ChunkedArray]
to [DataType]
sourcefn cast_unchecked(&self, data_type: &DataType) -> PolarsResult<Series>
fn cast_unchecked(&self, data_type: &DataType) -> PolarsResult<Series>
Does not check if the cast is a valid one and may over/underflow
sourceimpl ChunkCompare<&ChunkedArray<Utf8Type>> for Utf8Chunked
impl ChunkCompare<&ChunkedArray<Utf8Type>> for Utf8Chunked
type Item = ChunkedArray<BooleanType>
sourcefn eq_missing(&self, rhs: &Utf8Chunked) -> BooleanChunked
fn eq_missing(&self, rhs: &Utf8Chunked) -> BooleanChunked
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: &Utf8Chunked) -> BooleanChunked
fn equal(&self, rhs: &Utf8Chunked) -> BooleanChunked
Check for equality.
sourcefn not_equal(&self, rhs: &Utf8Chunked) -> BooleanChunked
fn not_equal(&self, rhs: &Utf8Chunked) -> BooleanChunked
Check for inequality.
sourcefn gt(&self, rhs: &Utf8Chunked) -> BooleanChunked
fn gt(&self, rhs: &Utf8Chunked) -> BooleanChunked
Greater than comparison.
sourcefn gt_eq(&self, rhs: &Utf8Chunked) -> BooleanChunked
fn gt_eq(&self, rhs: &Utf8Chunked) -> BooleanChunked
Greater than or equal comparison.
sourcefn lt(&self, rhs: &Utf8Chunked) -> BooleanChunked
fn lt(&self, rhs: &Utf8Chunked) -> BooleanChunked
Less than comparison.
sourcefn lt_eq(&self, rhs: &Utf8Chunked) -> BooleanChunked
fn lt_eq(&self, rhs: &Utf8Chunked) -> BooleanChunked
Less than or equal comparison
sourceimpl ChunkCompare<&str> for Utf8Chunked
impl ChunkCompare<&str> for Utf8Chunked
type Item = ChunkedArray<BooleanType>
sourcefn eq_missing(&self, rhs: &str) -> BooleanChunked
fn eq_missing(&self, rhs: &str) -> BooleanChunked
Check for equality and regard missing values as equal.
sourcefn equal(&self, rhs: &str) -> BooleanChunked
fn equal(&self, rhs: &str) -> BooleanChunked
Check for equality.
sourcefn not_equal(&self, rhs: &str) -> BooleanChunked
fn not_equal(&self, rhs: &str) -> BooleanChunked
Check for inequality.
sourcefn gt(&self, rhs: &str) -> BooleanChunked
fn gt(&self, rhs: &str) -> BooleanChunked
Greater than comparison.
sourcefn gt_eq(&self, rhs: &str) -> BooleanChunked
fn gt_eq(&self, rhs: &str) -> BooleanChunked
Greater than or equal comparison.
sourcefn lt(&self, rhs: &str) -> BooleanChunked
fn lt(&self, rhs: &str) -> BooleanChunked
Less than comparison.
sourcefn lt_eq(&self, rhs: &str) -> BooleanChunked
fn lt_eq(&self, rhs: &str) -> BooleanChunked
Less than or equal comparison
sourceimpl ChunkExpandAtIndex<Utf8Type> for Utf8Chunked
impl ChunkExpandAtIndex<Utf8Type> for Utf8Chunked
sourcefn new_from_index(&self, index: usize, length: usize) -> Utf8Chunked
fn new_from_index(&self, index: usize, length: usize) -> Utf8Chunked
Create a new ChunkedArray filled with values at that index.
sourceimpl ChunkExplode for Utf8Chunked
impl ChunkExplode for Utf8Chunked
fn explode_and_offsets(&self) -> PolarsResult<(Series, Buffer<i64>)>
fn explode(&self) -> PolarsResult<Series>
sourceimpl ChunkFillNull for Utf8Chunked
impl ChunkFillNull for Utf8Chunked
sourcefn fill_null(&self, strategy: FillNullStrategy) -> PolarsResult<Self>
fn fill_null(&self, strategy: FillNullStrategy) -> PolarsResult<Self>
Replace None values with one of the following strategies: Read more
sourceimpl ChunkFillNullValue<&str> for Utf8Chunked
impl ChunkFillNullValue<&str> for Utf8Chunked
sourcefn fill_null_with_values(&self, value: &str) -> PolarsResult<Self>
fn fill_null_with_values(&self, value: &str) -> PolarsResult<Self>
Replace None values with a give value
T
.sourceimpl ChunkFilter<Utf8Type> for Utf8Chunked
impl ChunkFilter<Utf8Type> for Utf8Chunked
sourcefn filter(&self, filter: &BooleanChunked) -> PolarsResult<ChunkedArray<Utf8Type>>
fn filter(&self, filter: &BooleanChunked) -> PolarsResult<ChunkedArray<Utf8Type>>
Filter values in the ChunkedArray with a boolean mask. Read more
sourceimpl<'a> ChunkFull<&'a str> for Utf8Chunked
impl<'a> ChunkFull<&'a str> for Utf8Chunked
sourceimpl ChunkFullNull for Utf8Chunked
impl ChunkFullNull for Utf8Chunked
sourceimpl ChunkQuantile<String> for Utf8Chunked
impl ChunkQuantile<String> for Utf8Chunked
sourcefn median(&self) -> Option<T>
fn median(&self) -> Option<T>
Returns the mean value in the array.
Returns
None
if the array is empty or only contains null values. Read moresourcefn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> PolarsResult<Option<T>>
fn quantile(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> PolarsResult<Option<T>>
Aggregate a given quantile of the ChunkedArray.
Returns
None
if the array is empty or only contains null values. Read moresourceimpl ChunkReverse<Utf8Type> for Utf8Chunked
impl ChunkReverse<Utf8Type> for Utf8Chunked
sourceimpl<'a> ChunkSet<'a, &'a str, String> for Utf8Chunked
impl<'a> ChunkSet<'a, &'a str, String> for Utf8Chunked
sourcefn set_at_idx<I: IntoIterator<Item = IdxSize>>(
&'a self,
idx: I,
opt_value: Option<&'a str>
) -> PolarsResult<Self>where
Self: Sized,
fn set_at_idx<I: IntoIterator<Item = IdxSize>>(
&'a self,
idx: I,
opt_value: Option<&'a str>
) -> PolarsResult<Self>where
Self: Sized,
sourcefn set_at_idx_with<I: IntoIterator<Item = IdxSize>, F>(
&'a self,
idx: I,
f: F
) -> PolarsResult<Self>where
Self: Sized,
F: Fn(Option<&'a str>) -> Option<String>,
fn set_at_idx_with<I: IntoIterator<Item = IdxSize>, F>(
&'a self,
idx: I,
f: F
) -> PolarsResult<Self>where
Self: Sized,
F: Fn(Option<&'a str>) -> Option<String>,
Set the values at indexes
idx
by applying a closure to these values. Read moresourcefn set(
&'a self,
mask: &BooleanChunked,
value: Option<&'a str>
) -> PolarsResult<Self>where
Self: Sized,
fn set(
&'a self,
mask: &BooleanChunked,
value: Option<&'a str>
) -> PolarsResult<Self>where
Self: Sized,
sourceimpl ChunkShift<Utf8Type> for Utf8Chunked
impl ChunkShift<Utf8Type> for Utf8Chunked
sourceimpl ChunkShiftFill<Utf8Type, Option<&str>> for Utf8Chunked
impl ChunkShiftFill<Utf8Type, Option<&str>> for Utf8Chunked
sourcefn shift_and_fill(&self, periods: i64, fill_value: Option<&str>) -> Utf8Chunked
fn shift_and_fill(&self, periods: i64, fill_value: Option<&str>) -> Utf8Chunked
Shift the values by a given period and fill the parts that will be empty due to this operation
with
fill_value
. Read moresourceimpl ChunkSort<Utf8Type> for Utf8Chunked
impl ChunkSort<Utf8Type> for Utf8Chunked
sourcefn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> PolarsResult<IdxCa>
fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> PolarsResult<IdxCa>
Panics
This function is very opinionated. On the implementation of ChunkedArray<T>
for numeric types,
we assume that all numeric Series
are of the same type.
In this case we assume that all numeric Series
are f64
types. The caller needs to
uphold this contract. If not, it will panic.
fn sort_with(&self, options: SortOptions) -> ChunkedArray<Utf8Type>
sourcefn sort(&self, reverse: bool) -> Utf8Chunked
fn sort(&self, reverse: bool) -> Utf8Chunked
Returned a sorted
ChunkedArray
.sourcefn argsort(&self, options: SortOptions) -> IdxCa
fn argsort(&self, options: SortOptions) -> IdxCa
Retrieve the indexes needed to sort this array.
sourceimpl ChunkTake for Utf8Chunked
impl ChunkTake for Utf8Chunked
sourceunsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Selfwhere
Self: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Selfwhere
Self: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
Take values from ChunkedArray by index. Read more
sourcefn take<I, INulls>(&self, indices: TakeIdx<'_, I, INulls>) -> PolarsResult<Self>where
Self: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>(&self, indices: TakeIdx<'_, I, INulls>) -> PolarsResult<Self>where
Self: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
Take values from ChunkedArray by index.
Note that the iterator will be cloned, so prefer an iterator that takes the owned memory
by reference. Read more
sourceimpl ChunkTakeEvery<Utf8Type> for Utf8Chunked
impl ChunkTakeEvery<Utf8Type> for Utf8Chunked
sourcefn take_every(&self, n: usize) -> Utf8Chunked
fn take_every(&self, n: usize) -> Utf8Chunked
Traverse and collect every nth element in a new array.
sourceimpl ChunkUnique<Utf8Type> for Utf8Chunked
impl ChunkUnique<Utf8Type> for Utf8Chunked
sourcefn unique(&self) -> PolarsResult<Self>
fn unique(&self) -> PolarsResult<Self>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> PolarsResult<IdxCa>
fn arg_unique(&self) -> PolarsResult<IdxCa>
Get first index of the unique values in a
ChunkedArray
.
This Vec is sorted. Read moresourcefn is_unique(&self) -> PolarsResult<BooleanChunked>
fn is_unique(&self) -> PolarsResult<BooleanChunked>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> PolarsResult<BooleanChunked>
fn is_duplicated(&self) -> PolarsResult<BooleanChunked>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> PolarsResult<usize>
fn n_unique(&self) -> PolarsResult<usize>
Number of unique values in the
ChunkedArray
sourcefn mode(&self) -> PolarsResult<Self>
fn mode(&self) -> PolarsResult<Self>
Available on crate feature
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkVar<String> for Utf8Chunked
impl ChunkVar<String> for Utf8Chunked
sourceimpl ChunkZip<Utf8Type> for Utf8Chunked
impl ChunkZip<Utf8Type> for Utf8Chunked
sourcefn zip_with(
&self,
mask: &BooleanChunked,
other: &Utf8Chunked
) -> PolarsResult<Utf8Chunked>
fn zip_with(
&self,
mask: &BooleanChunked,
other: &Utf8Chunked
) -> PolarsResult<Utf8Chunked>
Create a new ChunkedArray with values from self where the mask evaluates
true
and values
from other
where the mask evaluates false
Read moresourceimpl Debug for Utf8Chunked
impl Debug for Utf8Chunked
sourceimpl<Ptr> FromIterator<Option<Ptr>> for Utf8Chunkedwhere
Ptr: AsRef<str>,
impl<Ptr> FromIterator<Option<Ptr>> for Utf8Chunkedwhere
Ptr: AsRef<str>,
sourcefn from_iter<I: IntoIterator<Item = Option<Ptr>>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = Option<Ptr>>>(iter: I) -> Self
Creates a value from an iterator. Read more
sourceimpl<Ptr> FromIterator<Ptr> for Utf8Chunkedwhere
Ptr: PolarsAsRef<str>,
impl<Ptr> FromIterator<Ptr> for Utf8Chunkedwhere
Ptr: PolarsAsRef<str>,
sourcefn from_iter<I: IntoIterator<Item = Ptr>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = Ptr>>(iter: I) -> Self
Creates a value from an iterator. Read more
sourceimpl<Ptr> FromParallelIterator<Option<Ptr>> for Utf8Chunkedwhere
Ptr: AsRef<str> + Send + Sync,
impl<Ptr> FromParallelIterator<Option<Ptr>> for Utf8Chunkedwhere
Ptr: AsRef<str> + Send + Sync,
sourcefn from_par_iter<I: IntoParallelIterator<Item = Option<Ptr>>>(iter: I) -> Self
fn from_par_iter<I: IntoParallelIterator<Item = Option<Ptr>>>(iter: I) -> Self
Creates an instance of the collection from the parallel iterator
par_iter
. Read moresourceimpl<Ptr> FromParallelIterator<Ptr> for Utf8Chunkedwhere
Ptr: PolarsAsRef<str> + Send + Sync,
impl<Ptr> FromParallelIterator<Ptr> for Utf8Chunkedwhere
Ptr: PolarsAsRef<str> + Send + Sync,
sourcefn from_par_iter<I: IntoParallelIterator<Item = Ptr>>(iter: I) -> Self
fn from_par_iter<I: IntoParallelIterator<Item = Ptr>>(iter: I) -> Self
Creates an instance of the collection from the parallel iterator
par_iter
. Read moresourceimpl<Ptr> FromTrustedLenIterator<Option<Ptr>> for Utf8Chunkedwhere
Ptr: AsRef<str>,
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for Utf8Chunkedwhere
Ptr: AsRef<str>,
fn from_iter_trusted_length<I: IntoIterator<Item = Option<Ptr>>>(
iter: I
) -> Self
sourceimpl<Ptr> FromTrustedLenIterator<Ptr> for Utf8Chunkedwhere
Ptr: PolarsAsRef<str>,
impl<Ptr> FromTrustedLenIterator<Ptr> for Utf8Chunkedwhere
Ptr: PolarsAsRef<str>,
fn from_iter_trusted_length<I: IntoIterator<Item = Ptr>>(iter: I) -> Self
sourceimpl IntoGroupsProxy for Utf8Chunked
impl IntoGroupsProxy for Utf8Chunked
sourcefn group_tuples<'a>(
&'a self,
multithreaded: bool,
sorted: bool
) -> PolarsResult<GroupsProxy>
fn group_tuples<'a>(
&'a self,
multithreaded: bool,
sorted: bool
) -> PolarsResult<GroupsProxy>
Create the tuples need for a groupby operation.
* The first value in the tuple is the first index of the group.
* The second value in the tuple is are the indexes of the groups including the first value. Read more
sourceimpl<'a> IntoIterator for &'a Utf8Chunked
impl<'a> IntoIterator for &'a Utf8Chunked
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<Utf8Type> as IntoIterator>::Item> + 'a, Global>
type IntoIter = Box<dyn PolarsIterator<Item = <&'a ChunkedArray<Utf8Type> as IntoIterator>::Item> + 'a, Global>
Which kind of iterator are we turning this into?
sourceimpl<'a> IntoTakeRandom<'a> for &'a Utf8Chunked
impl<'a> IntoTakeRandom<'a> for &'a Utf8Chunked
type Item = &'a str
type TakeRandom = TakeRandBranch2<Utf8TakeRandomSingleChunk<'a>, Utf8TakeRandom<'a>>
sourcefn take_rand(&self) -> Self::TakeRandom
fn take_rand(&self) -> Self::TakeRandom
Create a type that implements
TakeRandom
.sourceimpl IsFirst<Utf8Type> for Utf8Chunked
impl IsFirst<Utf8Type> for Utf8Chunked
sourcefn is_first(&self) -> PolarsResult<BooleanChunked>
fn is_first(&self) -> PolarsResult<BooleanChunked>
Available on crate feature
is_first
only.sourceimpl IsIn for Utf8Chunked
impl IsIn for Utf8Chunked
sourcefn is_in(&self, other: &Series) -> PolarsResult<BooleanChunked>
fn is_in(&self, other: &Series) -> PolarsResult<BooleanChunked>
Available on crate feature
is_in
only.Check if elements of this array are in the right Series, or List values of the right Series.
sourceimpl<'a, T: AsRef<[Option<Cow<'a, str>>]>> NamedFrom<T, [Option<Cow<'a, str>>]> for Utf8Chunked
impl<'a, T: AsRef<[Option<Cow<'a, str>>]>> NamedFrom<T, [Option<Cow<'a, str>>]> for Utf8Chunked
sourceimpl<S> NewChunkedArray<Utf8Type, S> for Utf8Chunkedwhere
S: AsRef<str>,
impl<S> NewChunkedArray<Utf8Type, S> for Utf8Chunkedwhere
S: AsRef<str>,
sourcefn from_iter_values(name: &str, it: impl Iterator<Item = S>) -> Self
fn from_iter_values(name: &str, it: impl Iterator<Item = S>) -> Self
Create a new ChunkedArray from an iterator.
fn from_slice(name: &str, v: &[S]) -> Self
fn from_slice_options(name: &str, opt_v: &[Option<S>]) -> Self
sourcefn from_iter_options(name: &str, it: impl Iterator<Item = Option<S>>) -> Self
fn from_iter_options(name: &str, it: impl Iterator<Item = Option<S>>) -> Self
Create a new ChunkedArray from an iterator.
sourceimpl NumOpsDispatch for Utf8Chunked
impl NumOpsDispatch for Utf8Chunked
fn add_to(&self, rhs: &Series) -> PolarsResult<Series>
fn subtract(&self, rhs: &Series) -> PolarsResult<Series>
fn multiply(&self, rhs: &Series) -> PolarsResult<Series>
fn divide(&self, rhs: &Series) -> PolarsResult<Series>
fn remainder(&self, rhs: &Series) -> PolarsResult<Series>
sourceimpl RepeatBy for Utf8Chunked
impl RepeatBy for Utf8Chunked
sourcefn repeat_by(&self, by: &IdxCa) -> ListChunked
fn repeat_by(&self, by: &IdxCa) -> ListChunked
Available on crate feature
repeat_by
only.Repeat the values
n
times, where n
is determined by the values in by
.sourceimpl StrConcat for Utf8Chunked
impl StrConcat for Utf8Chunked
sourcefn str_concat(&self, delimiter: &str) -> Utf8Chunked
fn str_concat(&self, delimiter: &str) -> Utf8Chunked
Available on crate feature
concat_str
only.Concat the values into a string array. Read more
sourceimpl<'a> TakeRandom for &'a Utf8Chunked
impl<'a> TakeRandom for &'a Utf8Chunked
sourceimpl<'a> TakeRandomUtf8 for &'a Utf8Chunked
impl<'a> TakeRandomUtf8 for &'a Utf8Chunked
sourceimpl ValueSize for Utf8Chunked
impl ValueSize for Utf8Chunked
sourcefn get_values_size(&self) -> usize
fn get_values_size(&self) -> usize
Useful for a Utf8 or a List to get underlying value size.
During a rechunk this is handy Read more
sourceimpl VecHash for Utf8Chunked
impl VecHash for Utf8Chunked
sourcefn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64>)
fn vec_hash(&self, random_state: RandomState, buf: &mut Vec<u64>)
Compute the hash for all values in the array. Read more