Expand description
Helpers for working with arrow
Traits§
- Arrow
Array Downcast Ref - Downcast an arrow array to another array, without having to go via
Any
.
Functions§
- almost_
equal_ f64 - Return true when arguments are the same within some rounding error.
- arrays_
to_ list_ array - Create a sparse list-array out of an array of arrays.
- arrays_
to_ list_ array_ opt - Create a sparse list-array out of an array of arrays.
- concat_
arrays - Applies a
arrow::compute::concat
kernel to the givenarrays
. - concat_
polymorphic_ batches - Concatenates the given
RecordBatch
es, regardless of their respective schema. - ensure_
similar - Are two arrays equal, ignoring small numeric differences?
- extract_
fixed_ size_ array_ element - Extract the element at
idx
from aFixedSizeListArray
. - filter_
array - Applies a filter kernel to the given
array
. - format_
data_ type - Compact format of an arrow data type.
- into_
arrow_ ref - is_
list_ array_ semantically_ empty - Returns true if the given
list_array
is semantically empty. - make_
batch_ nullable - Returns a new
RecordBatch
where all top-level fields are nullable. - new_
list_ array_ of_ empties - Returns a new [
ListArray
] with lenentries
. - offsets_
lengths - Returns an iterator with the lengths of the offsets.
- pad_
list_ array_ back - Create a new
ListArray
of target length by appending null values to its back. - pad_
list_ array_ front - Create a new
ListArray
of target length by appending null values to its front. - repartition_
list_ array - Repartitions a
ListArray
according to the specifiedlengths
, ignoring previous partitioning. - sparse_
list_ array_ to_ dense_ list_ array - Given a sparse
ListArray
(i.e. an array with a nulls bitmap that contains at least one falsy value), returns a denseListArray
that only contains the non-null values from the original list. - take_
array - Applies a take kernel to the given
array
. - wrap_
in_ list_ array - Convert
[A, B, null, D, …]
into[[A], [B], null, [D], …]
.