polars_core::chunked_array::ops

Trait ChunkFull

Source
pub trait ChunkFull<T> {
    // Required method
    fn full(name: PlSmallStr, value: T, length: usize) -> Self
       where Self: Sized;
}
Expand description

Fill a ChunkedArray with one value.

Required Methods§

Source

fn full(name: PlSmallStr, value: T, length: usize) -> Self
where Self: Sized,

Create a ChunkedArray with a single value.

Implementors§

Source§

impl ChunkFull<&Series> for ArrayChunked

Available on crate feature dtype-array only.
Source§

impl ChunkFull<&Series> for ListChunked

Source§

impl ChunkFull<bool> for BooleanChunked

Source§

impl<'a> ChunkFull<&'a str> for StringChunked

Source§

impl<'a> ChunkFull<&'a [u8]> for BinaryChunked

Source§

impl<'a> ChunkFull<&'a [u8]> for BinaryOffsetChunked

Source§

impl<T> ChunkFull<<T as PolarsNumericType>::Native> for ChunkedArray<T>

Source§

impl<T: PolarsObject> ChunkFull<T> for ObjectChunked<T>

Available on crate feature object only.