Type Definition polars_core::datatypes::ObjectChunked

source ·
pub type ObjectChunked<T> = ChunkedArray<ObjectType<T>>;
Available on crate feature object only.

Implementations§

Get a hold to an object that can be formatted or downcasted via the Any trait.

Safety

No bounds checks

Get a hold to an object that can be formatted or downcasted via the Any trait.

Trait Implementations§

Safety Read more
Get the index of the minimal value
Get the index of the maximal value
Get the sum of the ChunkedArray as a new Series of length 1.
Get the max of the ChunkedArray as a new Series of length 1.
Get the min of the ChunkedArray as a new Series of length 1.
Get the product of the ChunkedArray as a new Series of length 1.
Get a single value. Beware this is slow. If you need to use this slightly performant, cast Categorical to UInt32 Read more
Get a single value. Beware this is slow.
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
Apply a closure on optional values and cast to Numeric ChunkedArray without null values.
Apply a closure elementwise. This is fastest when the null check branching is more expensive than the closure application. Often it is. Read more
Apply a closure elementwise including null values.
Apply a closure elementwise. The closure gets the index of the element as first argument.
Apply a closure elementwise. The closure gets the index of the element as first argument.
Apply a closure elementwise and write results to a mutable slice.
Create a new ChunkedArray filled with values at that index.
Replace None values with one of the following strategies: Read more
Replace None values with a give value T.
Filter values in the ChunkedArray with a boolean mask. Read more
Create a ChunkedArray with a single value.
Returns the mean value in the array. Returns None if the array is empty or only contains null values.
Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values.
Return a reversed version of this array.
Shift the values by a given period and fill the parts that will be empty due to this operation with fill_value.
Take values from ChunkedArray by index. Read more
Take values from ChunkedArray by index. Note that the iterator will be cloned, so prefer an iterator that takes the owned memory by reference.
Traverse and collect every nth element in a new array.
Get unique values of a ChunkedArray
Get first index of the unique values in a ChunkedArray. This Vec is sorted.
Number of unique values in the ChunkedArray
Get a mask of all the unique values.
Get a mask of all the duplicated values.
Available on crate feature mode only.
The most occurring value(s). Can return multiple Values
Compute the variance of this ChunkedArray/Series.
Compute the standard deviation of this ChunkedArray/Series.
Create a new ChunkedArray with values from self where the mask evaluates true and values from other where the mask evaluates false
Formats the value using the given formatter. Read more
Creates a value from an iterator. Read more
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.
The type of the elements being iterated over.
Which kind of iterator are we turning this into?
Creates an iterator from a value. Read more
Create a type that implements TakeRandom.
Initialize by name and values.
Initialize by name and values.

Create a new ChunkedArray from an iterator.

Create a new ChunkedArray from an iterator.
Get a nullable value by index. Read more
Get a value by index and ignore the null bit. Read more
Compute the hash for all values in the array. Read more