Module polars_core::chunked_array::ops  
source · Expand description
Traits for miscellaneous operations on ChunkedArray
Re-exports§
- pub use sort::options::*;
Modules§
- zipzip_with
Enums§
Traits§
- Aggregation operations.
- Fastest way to do elementwise operations on aChunkedArray<T>when the operation is cheaper than branching due to null checking.
- Apply kernels on the arrow array chunks in a ChunkedArray.
- CastChunkedArray<T>toChunkedArray<N>
- Create a new ChunkedArray filled with values at that index.
- Explode/flatten a List or String Series
- Replace None values with a value
- Filter values by a boolean mask.
- Fill a ChunkedArray with one value.
- Quantile and median aggregation.
- Reverse aChunkedArray<T>
- ChunkRollApplyrolling_windowThis differs from ChunkWindowCustom and ChunkWindow by not using a fold aggregator, but reusing aSerieswrapper and callingSeriesaggregators. This likely is a bit slower than ChunkWindow
- Create aChunkedArraywith new values by index or by boolean mask. Note that these operations clone data. This is however the only way we can modify at mask or index level as the underlying Arrow arrays are immutable.
- Shift the values of aChunkedArrayby a number of periods.
- Sort operations onChunkedArray.
- Get unique values in aChunkedArray
- Variance and standard deviation aggregation.
- Combine twoChunkedArraybased on some predicate.
- IsFirstDistinctis_first_distinctMask the first unique values astrue
- IsLastDistinctis_last_distinctMask the last unique values astrue