Trait polars_core::chunked_array::ops::ChunkFillNullValue
source · pub trait ChunkFillNullValue<T> {
fn fill_null_with_values(&self, value: T) -> PolarsResult<Self>
where
Self: Sized;
}
Expand description
Replace None values with a value
Required Methods§
sourcefn fill_null_with_values(&self, value: T) -> PolarsResult<Self>where
Self: Sized,
fn fill_null_with_values(&self, value: T) -> PolarsResult<Self>where
Self: Sized,
Replace None values with a give value T
.
Implementors§
impl ChunkFillNullValue<&str> for Utf8Chunked
impl ChunkFillNullValue<&Series> for ListChunked
impl ChunkFillNullValue<&[u8]> for BinaryChunked
Available on crate feature
dtype-binary
only.impl ChunkFillNullValue<bool> for BooleanChunked
impl<T> ChunkFillNullValue<<T as PolarsNumericType>::Native> for ChunkedArray<T>where
T: PolarsNumericType,
impl<T: PolarsObject> ChunkFillNullValue<ObjectType<T>> for ObjectChunked<T>
Available on crate feature
object
only.