Expand description
Helpers for working with arrow
Structs§
- Missing
Column Error - Error used when a column is missing from a record batch
- Record
Batch Format Opts - Wrong
Datatype Error - Error used for arrow datatype mismatch.
Traits§
- Arrow
Array Downcast Ref - Downcast an arrow array to another array, without having to go via
Any. - Fields
Test Ext - Record
Batch Ext - Record
Batch Test Ext - Schema
Test Ext
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.
- blob_
arrays_ offsets_ and_ buffer - Get the underlying buffer of an arrow array of logical type
Vec<Vec<Blob>>. - concat_
arrays - Applies a
arrow::compute::concatkernel to the givenarrays. - concat_
polymorphic_ batches - Concatenates the given
RecordBatches, regardless of their respective schema. - deep_
slice_ array - Deep-slicing operation for Arrow arrays.
- deep_
slice_ array_ erased - Deep-slicing operation for Arrow arrays.
- 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
- format_
record_ batch - Nicely format this record batch in a way that fits the terminal.
- format_
record_ batch_ opts - Nicely format this record batch using the specified options.
- format_
record_ batch_ with_ width - Nicely format this record batch, either with the given fixed width, or with the terminal width (
None). - garbage_
collect_ string_ view_ batch - Heuristically compact
StringViewArrays to reduce memory usage, if needed - into_
arrow_ ref - is_
list_ array_ semantically_ empty - Returns true if the given
list_arrayis semantically empty. - 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. - 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 logically the same - wrap_
in_ list_ array - Convert
[A, B, null, D, …]into[[A], [B], null, [D], …].