pub struct Utf8Type {}
Trait Implementations§
source§impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkExpandAtIndex<Utf8Type> for ChunkedArray<Utf8Type>
source§fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
fn new_from_index(&self, index: usize, length: usize) -> ChunkedArray<Utf8Type>
Create a new ChunkedArray filled with values at that index.
source§impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkFilter<Utf8Type> for ChunkedArray<Utf8Type>
source§fn 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
source§impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkShift<Utf8Type> for ChunkedArray<Utf8Type>
source§impl ChunkShiftFill<Utf8Type, Option<&str>> for ChunkedArray<Utf8Type>
impl ChunkShiftFill<Utf8Type, Option<&str>> for ChunkedArray<Utf8Type>
source§fn 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
.source§impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkSort<Utf8Type> for ChunkedArray<Utf8Type>
source§fn arg_sort_multiple(
&self,
options: &SortMultipleOptions
) -> Result<ChunkedArray<UInt32Type>, PolarsError>
fn arg_sort_multiple( &self, options: &SortMultipleOptions ) -> 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>
source§fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
fn arg_sort(&self, options: SortOptions) -> ChunkedArray<UInt32Type>
Retrieve the indexes needed to sort this array.
source§impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkUnique<Utf8Type> for ChunkedArray<Utf8Type>
source§fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
fn unique(&self) -> Result<ChunkedArray<Utf8Type>, PolarsError>
Get unique values of a ChunkedArray
source§fn 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.source§impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
impl ChunkZip<Utf8Type> for ChunkedArray<Utf8Type>
source§fn 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
source§impl 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>)
source§impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type>where
S: AsRef<str>,
impl<S> NewChunkedArray<Utf8Type, S> for ChunkedArray<Utf8Type>where S: AsRef<str>,
source§fn 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>
source§fn 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.
source§impl NumOpsDispatchInner for Utf8Type
impl NumOpsDispatchInner for Utf8Type
fn add_to( lhs: &ChunkedArray<Utf8Type>, rhs: &Series ) -> Result<Series, PolarsError>
fn subtract( lhs: &ChunkedArray<Self>, rhs: &Series ) -> Result<Series, PolarsError>
fn multiply( lhs: &ChunkedArray<Self>, rhs: &Series ) -> Result<Series, PolarsError>
fn divide(lhs: &ChunkedArray<Self>, rhs: &Series) -> Result<Series, PolarsError>
fn remainder( lhs: &ChunkedArray<Self>, rhs: &Series ) -> Result<Series, PolarsError>
source§impl PolarsDataType for Utf8Type
impl PolarsDataType for Utf8Type
impl Copy 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more