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::concatkernel to the givenarrays. - concat_
polymorphic_ batches - Concatenates the given
RecordBatches, regardless of their respective schema. - ensure_
similar - Are two arrays equal, ignoring small numeric differences?
- extract_
fixed_ size_ array_ element - Extract the element at
idxfrom aFixedSizeListArray. - filter_
array - Applies a filter kernel to the given
array. - format_
data_ type - Compact format of an arrow data type.
- format_
field_ datatype - Format the datatype of a field (column) with optional nullability
- into_
arrow_ ref - is_
list_ array_ semantically_ empty - Returns true if the given
list_arrayis semantically empty. - make_
batch_ nullable - Returns a new
RecordBatchwhere all top-level fields are nullable. - new_
list_ array_ of_ empties - Returns a new [
ListArray] with lenentries. - pad_
list_ array_ back - Create a new
ListArrayof target length by appending null values to its back. - pad_
list_ array_ front - Create a new
ListArrayof target length by appending null values to its front. - repartition_
list_ array - Repartitions a
ListArrayaccording 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 denseListArraythat only contains the non-null values from the original list. - take_
array - Applies a take kernel to the given
array. - widen_
binary_ arrays - Convert any
BinaryArraytoLargeBinaryArray, because we treat them logivally the same - wrap_
in_ list_ array - Convert
[A, B, null, D, …]into[[A], [B], null, [D], …].