[][src]Type Definition polars::datatypes::Utf8Chunked

type Utf8Chunked = ChunkedArray<Utf8Type>;

Implementations

impl Utf8Chunked[src]

pub fn str_lengths(&self) -> UInt32Chunked[src]

This is supported on crate feature strings only.

Get the length of the string values.

pub fn contains(&self, pat: &str) -> Result<BooleanChunked>[src]

This is supported on crate feature strings only.

Check if strings contain a regex pattern

pub fn replace(&self, pat: &str, val: &str) -> Result<Utf8Chunked>[src]

This is supported on crate feature strings only.

Replace the leftmost (sub)string by a regex pattern

pub fn replace_all(&self, pat: &str, val: &str) -> Result<Utf8Chunked>[src]

This is supported on crate feature strings only.

Replace all (sub)strings by a regex pattern

pub fn to_lowercase(&self) -> Utf8Chunked[src]

This is supported on crate feature strings only.

Modify the strings to their lowercase equivalent

pub fn to_uppercase(&self) -> Utf8Chunked[src]

This is supported on crate feature strings only.

Modify the strings to their uppercase equivalent

pub fn concat(&self, other: &Utf8Chunked) -> Self[src]

This is supported on crate feature strings only.

Concat with the values from a second Utf8Chunked

impl Utf8Chunked[src]

pub fn as_date32(&self, fmt: Option<&str>) -> Result<Date32Chunked>[src]

This is supported on crate feature temporal only.

pub fn as_date64(&self, fmt: Option<&str>) -> Result<Date64Chunked>[src]

This is supported on crate feature temporal only.

Trait Implementations

impl Add<&'_ ChunkedArray<Utf8Type>> for &Utf8Chunked[src]

type Output = Utf8Chunked

The resulting type after applying the + operator.

impl Add<&'_ str> for &Utf8Chunked[src]

type Output = Utf8Chunked

The resulting type after applying the + operator.

impl Add<ChunkedArray<Utf8Type>> for Utf8Chunked[src]

type Output = Utf8Chunked

The resulting type after applying the + operator.

impl<'a> ChunkApply<'a, &'a str, String> for Utf8Chunked[src]

impl ChunkApplyKernel<GenericStringArray<i32>> for Utf8Chunked[src]

impl ChunkCast for Utf8Chunked[src]

impl ChunkCompare<&'_ ChunkedArray<Utf8Type>> for Utf8Chunked[src]

impl ChunkCompare<&'_ str> for Utf8Chunked[src]

impl ChunkExpandAtIndex<Utf8Type> for Utf8Chunked[src]

impl ChunkFillNone for Utf8Chunked[src]

impl ChunkFillNoneValue<&'_ str> for Utf8Chunked[src]

impl ChunkFilter<Utf8Type> for Utf8Chunked[src]

impl<'a> ChunkFull<&'a str> for Utf8Chunked[src]

impl ChunkOps for Utf8Chunked[src]

impl ChunkReverse<Utf8Type> for Utf8Chunked[src]

impl<'a> ChunkSet<'a, &'a str, String> for Utf8Chunked[src]

impl ChunkShift<Utf8Type> for Utf8Chunked[src]

impl ChunkShiftFill<Utf8Type, Option<&'_ str>> for Utf8Chunked[src]

impl ChunkSort<Utf8Type> for Utf8Chunked[src]

impl ChunkTake for Utf8Chunked[src]

impl ChunkUnique<Utf8Type> for Utf8Chunked[src]

impl ChunkVar<String> for Utf8Chunked[src]

impl ChunkWindow for Utf8Chunked[src]

impl ChunkZip<Utf8Type> for Utf8Chunked[src]

impl Debug for Utf8Chunked[src]

impl Downcast<GenericStringArray<i32>> for Utf8Chunked[src]

impl<'a> FromIterator<&'a &'a str> for Utf8Chunked[src]

impl<'a> FromIterator<&'a Option<&'a str>> for Utf8Chunked[src]

impl<'a> FromIterator<&'a str> for Utf8Chunked[src]

impl<'a> FromIterator<Cow<'a, str>> for Utf8Chunked[src]

impl<'a> FromIterator<Option<&'a str>> for Utf8Chunked[src]

impl<'a> FromIterator<Option<Cow<'a, str>>> for Utf8Chunked[src]

impl FromIterator<Option<String>> for Utf8Chunked[src]

impl FromIterator<String> for Utf8Chunked[src]

impl<'a> FromParallelIterator<&'a str> for Utf8Chunked[src]

impl<'a> FromParallelIterator<Option<&'a str>> for Utf8Chunked[src]

impl FromParallelIterator<Option<String>> for Utf8Chunked[src]

impl FromParallelIterator<String> for Utf8Chunked[src]

impl IntoGroupTuples for Utf8Chunked[src]

impl<'a> IntoIterator for &'a Utf8Chunked[src]

type Item = Option<&'a str>

The type of the elements being iterated over.

type IntoIter = Box<dyn PolarsIterator<Item = Self::Item> + 'a>

Which kind of iterator are we turning this into?

pub fn into_iter(self) -> Self::IntoIter[src]

Decides which iterator fits best the current chunked array. The decision are based on the number of chunks and the existence of null values.

impl<'a> IntoNoNullIterator for &'a Utf8Chunked[src]

type Item = &'a str

type IntoIter = Box<dyn PolarsIterator<Item = Self::Item> + 'a>

pub fn into_no_null_iter(self) -> Self::IntoIter[src]

Decides which iterator fits best the current no null chunked array. The decision are based on the number of chunks.

impl<'a> IntoParallelIterator for &'a Utf8Chunked[src]

This is supported on crate feature parallel only.

Convert $ca_iter into a ParallelIterator using the most efficient ParallelIterator implementation for the given $ca_type.

  • If $ca_type has only a chunk and has no null values, it uses $single_chunk_return_option.
  • If $ca_type has only a chunk and does have null values, it uses $single_chunk_null_check_return_option.
  • If $ca_type has many chunks and has no null values, it uses $many_chunk_return_option.
  • If $ca_type has many chunks and does have null values, it uses $many_chunk_null_check_return_option.

type Iter = Utf8ParIterDispatcher<'a>

The parallel iterator type that will be created.

type Item = Option<&'a str>

The type of item that the parallel iterator will produce.

impl IntoSeries for Utf8Chunked[src]

impl<'a> IntoTakeRandom<'a> for &'a Utf8Chunked[src]

type Item = &'a str

type TakeRandom = Box<dyn TakeRandom<Item = Self::Item> + 'a>

impl<S> NewChunkedArray<Utf8Type, S> for Utf8Chunked where
    S: AsRef<str>, 
[src]

pub fn new_from_iter(name: &str, it: impl Iterator<Item = S>) -> Self[src]

Create a new ChunkedArray from an iterator.

impl NumOpsDispatch for Utf8Chunked[src]

impl<'a> TakeRandom for &'a Utf8Chunked[src]

type Item = &'a str

impl<'a> TakeRandomUtf8 for &'a Utf8Chunked[src]

type Item = &'a str

impl ToDummies<Utf8Type> for Utf8Chunked[src]

impl ZipOuterJoinColumn for Utf8Chunked[src]