pub struct Utf8Type {}
object
only.Trait Implementations
sourceimpl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
fn expand_at_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
Create a new ChunkedArray filled with values at that index.
sourceimpl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn filter(
&self,
filter: &ChunkedArray<BooleanType>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Filter values in the ChunkedArray with a boolean mask. Read more
sourceimpl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkReverse<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn reverse(&self) -> ChunkedArray<Utf8Type>
fn reverse(&self) -> ChunkedArray<Utf8Type>
Return a reversed version of this array.
sourceimpl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
fn shift(&self, periods: i64) -> ChunkedArray<Utf8Type>
sourceimpl<'_> ChunkShiftFill<Utf8Type, Option<&'_ str>> for ChunkedArray<Utf8Type>
impl<'_> ChunkShiftFill<Utf8Type, Option<&'_ str>> for ChunkedArray<Utf8Type>
sourcefn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&str>
) -> ChunkedArray<Utf8Type>
fn shift_and_fill(
&self,
periods: i64,
fill_value: Option<&str>
) -> ChunkedArray<Utf8Type>
Shift the values by a given period and fill the parts that will be empty due to this operation
with fill_value
. Read more
sourceimpl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn argsort_multiple(
&self,
other: &[Series],
reverse: &[bool]
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Panics
This function is very opinionated. On the implementation of ChunkedArray<T>
for numeric types,
we assume that all numeric Series
are of the same type.
In this case we assume that all numeric Series
are f64
types. The caller needs to
uphold this contract. If not, it will panic.
fn sort_with(&self, options: SortOptions) -> ChunkedArray<Utf8Type>
sourcefn sort(&self, reverse: bool) -> ChunkedArray<Utf8Type>
fn sort(&self, reverse: bool) -> ChunkedArray<Utf8Type>
Returned a sorted ChunkedArray
.
sourcefn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn argsort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
sourceimpl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkTakeEvery<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>
fn take_every(&self, n: usize) -> ChunkedArray<Utf8Type>
Traverse and collect every nth element in a new array.
sourceimpl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Get unique values of a ChunkedArray
sourcefn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_unique(&self) -> Result<ChunkedArray<UInt32Type>, PolarsError>
Get first index of the unique values in a ChunkedArray
.
This Vec is sorted. Read more
sourcefn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_unique(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the unique values.
sourcefn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
fn is_duplicated(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
Get a mask of all the duplicated values.
sourcefn n_unique(&self) -> Result<usize, PolarsError>
fn n_unique(&self) -> Result<usize, PolarsError>
Number of unique values in the ChunkedArray
sourcefn mode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn mode(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
mode
only.The most occurring value(s). Can return multiple Values
sourceimpl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
sourcefn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<Utf8Type>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn zip_with(
&self,
mask: &ChunkedArray<BooleanType>,
other: &ChunkedArray<Utf8Type>
) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Create a new ChunkedArray with values from self where the mask evaluates true
and values
from other
where the mask evaluates false
Read more
sourceimpl<'_> ChunkedBuilder<Cow<'_, str>, Utf8Type> for Utf8ChunkedBuilderCow
impl<'_> ChunkedBuilder<Cow<'_, str>, Utf8Type> for Utf8ChunkedBuilderCow
fn append_value(&mut self, val: Cow<'_, str>)
fn append_null(&mut self)
fn finish(self) -> ChunkedArray<Utf8Type>
fn shrink_to_fit(&mut self)
fn append_option(&mut self, opt_val: Option<N>)
sourceimpl IsFirst<Utf8Type> for ChunkedArray<Utf8Type>
impl IsFirst<Utf8Type> for ChunkedArray<Utf8Type>
fn is_first(&self) -> Result<ChunkedArray<BooleanType>, PolarsError>
sourceimpl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type> where
S: AsRef<str>,
impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type> where
S: AsRef<str>,
sourcefn from_iter_values(
name: &str,
it: impl Iterator<Item = S>
) -> ChunkedArray<Utf8Type>
fn from_iter_values(
name: &str,
it: impl Iterator<Item = S>
) -> ChunkedArray<Utf8Type>
Create a new ChunkedArray from an iterator.
fn from_slice(name: &str, v: &[S]) -> ChunkedArray<Utf8Type>
fn from_slice_options(name: &str, opt_v: &[Option<S>]) -> ChunkedArray<Utf8Type>
sourcefn from_iter_options(
name: &str,
it: impl Iterator<Item = Option<S>>
) -> ChunkedArray<Utf8Type>
fn from_iter_options(
name: &str,
it: impl Iterator<Item = Option<S>>
) -> ChunkedArray<Utf8Type>
Create a new ChunkedArray from an iterator.
sourceimpl ToDummies<Utf8Type> for ChunkedArray<Utf8Type>
impl ToDummies<Utf8Type> for ChunkedArray<Utf8Type>
fn to_dummies(&self) -> Result<DataFrame, PolarsError>
impl PolarsSingleType for Utf8Type
Auto Trait Implementations
impl RefUnwindSafe for Utf8Type
impl Send for Utf8Type
impl Sync for Utf8Type
impl Unpin for Utf8Type
impl UnwindSafe for Utf8Type
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more