Type Definition polars_core::datatypes::Utf8Chunked
source · [−]pub type Utf8Chunked = ChunkedArray<Utf8Type>;
Implementations
sourceimpl Utf8Chunked
impl Utf8Chunked
sourcepub fn json_path_match(&self, json_path: &str) -> Result<Utf8Chunked>
pub fn json_path_match(&self, json_path: &str) -> Result<Utf8Chunked>
Extract json path, first match Refer to https://goessner.net/articles/JsonPath/
sourceimpl Utf8Chunked
impl Utf8Chunked
pub fn hex_decode(&self, strict: Option<bool>) -> Result<Utf8Chunked>
pub fn hex_encode(&self) -> Utf8Chunked
pub fn base64_decode(&self, strict: Option<bool>) -> Result<Utf8Chunked>
pub fn base64_encode(&self) -> Utf8Chunked
sourceimpl Utf8Chunked
impl Utf8Chunked
sourcepub fn str_lengths(&self) -> UInt32Chunked
pub fn str_lengths(&self) -> UInt32Chunked
Get the length of the string values.
sourcepub fn contains(&self, pat: &str) -> Result<BooleanChunked>
pub fn contains(&self, pat: &str) -> Result<BooleanChunked>
Check if strings contain a regex pattern
sourcepub fn replace(&self, pat: &str, val: &str) -> Result<Utf8Chunked>
pub fn replace(&self, pat: &str, val: &str) -> Result<Utf8Chunked>
Replace the leftmost (sub)string by a regex pattern
sourcepub fn replace_all(&self, pat: &str, val: &str) -> Result<Utf8Chunked>
pub fn replace_all(&self, pat: &str, val: &str) -> Result<Utf8Chunked>
Replace all (sub)strings by a regex pattern
sourcepub fn extract(&self, pat: &str, group_index: usize) -> Result<Utf8Chunked>
pub fn extract(&self, pat: &str, group_index: usize) -> Result<Utf8Chunked>
Extract the nth capture group from pattern
sourcepub fn to_lowercase(&self) -> Utf8Chunked
pub fn to_lowercase(&self) -> Utf8Chunked
Modify the strings to their lowercase equivalent
sourcepub fn to_uppercase(&self) -> Utf8Chunked
pub fn to_uppercase(&self) -> Utf8Chunked
Modify the strings to their uppercase equivalent
sourcepub fn concat(&self, other: &Utf8Chunked) -> Self
pub fn concat(&self, other: &Utf8Chunked) -> Self
Concat with the values from a second 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
fn agg_list(&self, groups: &GroupsProxy) -> Option<Series>
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) -> Self where
F: Fn(&'a str) -> Cow<'a, str> + Copy,
fn apply<F>(&'a self, f: F) -> Self where
F: Fn(&'a str) -> Cow<'a, str> + Copy,
Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
fn try_apply<F>(&'a self, f: F) -> Result<Self> where
F: Fn(&'a str) -> Result<Cow<'a, str>> + Copy,
sourcefn apply_on_opt<F>(&'a self, f: F) -> Self where
F: Fn(Option<&'a str>) -> Option<Cow<'a, str>> + Copy,
fn apply_on_opt<F>(&'a self, f: F) -> Self where
F: Fn(Option<&'a str>) -> Option<Cow<'a, str>> + Copy,
Apply a closure elementwise including null values.
sourcefn apply_with_idx<F>(&'a self, f: F) -> Self where
F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
fn apply_with_idx<F>(&'a self, f: F) -> Self where
F: Fn((usize, &'a str)) -> Cow<'a, str> + Copy,
Apply a closure elementwise. The closure gets the index of the element as first argument.
sourceimpl 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
sourceimpl ChunkCompare<&'_ ChunkedArray<Utf8Type>> for Utf8Chunked
impl ChunkCompare<&'_ ChunkedArray<Utf8Type>> for Utf8Chunked
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
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 expand_at_index(&self, index: usize, length: usize) -> Utf8Chunked
fn expand_at_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
sourceimpl ChunkFillNull for Utf8Chunked
impl ChunkFillNull for Utf8Chunked
sourcefn fill_null(&self, strategy: FillNullStrategy) -> Result<Self>
fn fill_null(&self, strategy: FillNullStrategy) -> Result<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) -> Result<Self>
fn fill_null_with_values(&self, value: &str) -> Result<Self>
Replace None values with a give value T
.
sourceimpl ChunkFilter<Utf8Type> for Utf8Chunked
impl ChunkFilter<Utf8Type> for Utf8Chunked
sourcefn filter(&self, filter: &BooleanChunked) -> Result<ChunkedArray<Utf8Type>>
fn filter(&self, filter: &BooleanChunked) -> Result<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 ChunkOps for Utf8Chunked
impl ChunkOps for Utf8Chunked
sourceimpl ChunkQuantile<String> for Utf8Chunked
impl ChunkQuantile<String> for Utf8Chunked
sourceimpl 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 = usize>>(
&'a self,
idx: I,
opt_value: Option<&'a str>
) -> Result<Self> where
Self: Sized,
fn set_at_idx<I: IntoIterator<Item = usize>>(
&'a self,
idx: I,
opt_value: Option<&'a str>
) -> Result<Self> where
Self: Sized,
Set the values at indexes idx
to some optional value Option<T>
. Read more
sourcefn set_at_idx_with<I: IntoIterator<Item = usize>, F>(
&'a self,
idx: I,
f: F
) -> Result<Self> where
Self: Sized,
F: Fn(Option<&'a str>) -> Option<String>,
fn set_at_idx_with<I: IntoIterator<Item = usize>, F>(
&'a self,
idx: I,
f: F
) -> Result<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 more
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 more
sourceimpl ChunkSort<Utf8Type> for Utf8Chunked
impl ChunkSort<Utf8Type> for Utf8Chunked
sourcefn argsort_multiple(&self, other: &[Series], reverse: &[bool]) -> Result<IdxCa>
fn argsort_multiple(&self, other: &[Series], reverse: &[bool]) -> Result<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>
) -> Self where
Self: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
unsafe fn take_unchecked<I, INulls>(
&self,
indices: TakeIdx<'_, I, INulls>
) -> Self where
Self: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
Take values from ChunkedArray by index. Read more
sourcefn take<I, INulls>(&self, indices: TakeIdx<'_, I, INulls>) -> Result<Self> where
Self: Sized,
I: TakeIterator,
INulls: TakeIteratorNulls,
fn take<I, INulls>(&self, indices: TakeIdx<'_, I, INulls>) -> Result<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 arg_unique(&self) -> Result<IdxCa>
fn arg_unique(&self) -> Result<IdxCa>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<BooleanChunked>
fn is_unique(&self) -> Result<BooleanChunked>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<BooleanChunked>
fn is_duplicated(&self) -> Result<BooleanChunked>
Get a mask of all the duplicated 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
) -> Result<Utf8Chunked>
fn zip_with(
&self,
mask: &BooleanChunked,
other: &Utf8Chunked
) -> Result<Utf8Chunked>
Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
sourceimpl Debug for Utf8Chunked
impl Debug for Utf8Chunked
sourceimpl<Ptr> FromIterator<Option<Ptr>> for Utf8Chunked where
Ptr: AsRef<str>,
impl<Ptr> FromIterator<Option<Ptr>> for Utf8Chunked where
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 Utf8Chunked where
Ptr: PolarsAsRef<str>,
impl<Ptr> FromIterator<Ptr> for Utf8Chunked where
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 Utf8Chunked where
Ptr: AsRef<str> + Send + Sync,
impl<Ptr> FromParallelIterator<Option<Ptr>> for Utf8Chunked where
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 more
sourceimpl<Ptr> FromParallelIterator<Ptr> for Utf8Chunked where
Ptr: PolarsAsRef<str> + Send + Sync,
impl<Ptr> FromParallelIterator<Ptr> for Utf8Chunked where
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 more
sourceimpl<Ptr> FromTrustedLenIterator<Option<Ptr>> for Utf8Chunked where
Ptr: AsRef<str>,
impl<Ptr> FromTrustedLenIterator<Option<Ptr>> for Utf8Chunked where
Ptr: AsRef<str>,
fn from_iter_trusted_length<I: IntoIterator<Item = Option<Ptr>>>(
iter: I
) -> Self
sourceimpl<Ptr> FromTrustedLenIterator<Ptr> for Utf8Chunked where
Ptr: PolarsAsRef<str>,
impl<Ptr> FromTrustedLenIterator<Ptr> for Utf8Chunked where
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) -> GroupsProxy
fn group_tuples<'a>(&'a self, multithreaded: bool, sorted: bool) -> GroupsProxy
Create the tuples need for a groupby operation. * The first value in the tuple is the first index of the group. * The second value in the tuple is are the indexes of the groups including the first value. Read more
sourceimpl<'a> IntoIterator for &'a Utf8Chunked
impl<'a> IntoIterator for &'a Utf8Chunked
sourceimpl IntoSeries for Utf8Chunked
impl IntoSeries for Utf8Chunked
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
fn is_first(&self) -> Result<BooleanChunked>
sourceimpl IsIn for Utf8Chunked
impl IsIn for Utf8Chunked
sourcefn is_in(&self, other: &Series) -> Result<BooleanChunked>
fn is_in(&self, other: &Series) -> Result<BooleanChunked>
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 Utf8Chunked where
S: AsRef<str>,
impl<S> NewChunkedArray<Utf8Type, S> for Utf8Chunked where
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
sourceimpl QuantileAggSeries for Utf8Chunked
impl QuantileAggSeries for Utf8Chunked
sourcefn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series>
fn quantile_as_series(
&self,
_quantile: f64,
_interpol: QuantileInterpolOptions
) -> Result<Series>
Get the quantile of the ChunkedArray as a new Series of length 1.
sourcefn median_as_series(&self) -> Series
fn median_as_series(&self) -> Series
Get the median of the ChunkedArray as a new Series of length 1.
sourceimpl RepeatBy for Utf8Chunked
impl RepeatBy for Utf8Chunked
sourcefn repeat_by(&self, by: &IdxCa) -> ListChunked
fn repeat_by(&self, by: &IdxCa) -> ListChunked
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
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 ToDummies<Utf8Type> for Utf8Chunked
impl ToDummies<Utf8Type> for Utf8Chunked
fn to_dummies(&self) -> Result<DataFrame>
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 VarAggSeries for Utf8Chunked
impl VarAggSeries for Utf8Chunked
sourcefn var_as_series(&self) -> Series
fn var_as_series(&self) -> Series
Get the variance of the ChunkedArray as a new Series of length 1.
sourcefn std_as_series(&self) -> Series
fn std_as_series(&self) -> Series
Get the standard deviation of the ChunkedArray as a new Series of length 1.