pub type ListChunked = ChunkedArray<ListType>;

Implementations

Available on crate feature ndarray only.

If all nested Series have the same length, a 2 dimensional ndarray::Array is returned.

This is an iterator over a ListChunked that save allocations. A Series is: 1. Arc ChunkedArray is: 2. Vec< 3. ArrayRef>

The ArrayRef we indicated with 3. will be updated during iteration. The Series will be pinned in memory, saving an allocation for

  1. Arc<..>
  2. Vec<…>
Warning

Though memory safe in the sense that it will not read unowned memory, UB, or memory leaks this function still needs precautions. The returned should never be cloned or taken longer than a single iteration, as every call on next of the iterator will change the contents of that Series.

Apply a closure F elementwise.

Available on crate feature list only.

In case the inner dtype DataType::Utf8, the individual items will be joined into a single string separated by separator.

Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate features list and diff only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.
Available on crate feature list only.

Get the value by index in the sublists. So index 0 would return the first item of every sublist and index -1 would return the last item of every sublist if an index is out of bounds, it will return a None.

Available on crate feature list only.

Get the inner data type of the list.

Trait Implementations

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 F elementwise.

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 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 including null values.

Apply a closure elementwise and write results to a mutable slice.

We cannot cast anything to or from List/LargeList So this implementation casts the inner type

Cast a [ChunkedArray] to [DataType]

Check for equality and regard missing values as equal.

Check for equality.

Check for inequality.

Greater than comparison.

Greater than or equal comparison.

Less than comparison.

Less than or equal comparison

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.

Aggregate to contiguous memory.

Slice the array. The chunks are reallocated the underlying data slices are zero copy. Read more

Take a view of top n elements

Get the head of the ChunkedArray

Get the tail of the ChunkedArray

Returns the mean value in the array. Returns None if the array is empty or only contains null values. Read more

Aggregate a given quantile of the ChunkedArray. Returns None if the array is empty or only contains null values. Read more

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. Read more

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. Read more

Traverse and collect every nth element in a new array.

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 Read more

Formats the value using the given formatter. Read more

Creates a value from an iterator. Read more

Creates a value from an iterator. Read more

Creates a value from an iterator. Read more

Creates an instance of the collection from the parallel iterator par_iter. 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. Read more

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.

Get the quantile of the ChunkedArray as a new Series of length 1.

Get the median of the ChunkedArray as a new Series of length 1.

Get a nullable value by index. Read more

Get a value by index and ignore the null bit. Read more

Useful for a Utf8 or a List to get underlying value size. During a rechunk this is handy Read more

Get the variance of the ChunkedArray as a new Series of length 1.

Get the standard deviation of the ChunkedArray as a new Series of length 1.