Function polars_core::utils::align_chunks_binary
source · pub fn align_chunks_binary<'a, T, B>(
left: &'a ChunkedArray<T>,
right: &'a ChunkedArray<B>
) -> (Cow<'a, ChunkedArray<T>>, Cow<'a, ChunkedArray<B>>)where
B: PolarsDataType,
T: PolarsDataType,
Expand description
Ensure the chunks in both ChunkedArrays have the same length.
§Panics
This will panic if left.len() != right.len()
and array is chunked.