Compute Functions¶
Aggregations¶
|
Call compute function ‘count’ with the given argument. |
|
Call compute function ‘mean’ with the given argument. |
|
Call compute function ‘min_max’ with the given argument. |
|
Return the mode (most common value) of a passed numerical (chunked) array. |
|
Call compute function ‘stddev’ with the given argument. |
|
Sum the values in a numerical (chunked) array. |
|
Call compute function ‘variance’ with the given argument. |
Arithmetic Functions¶
By default these functions do not detect overflow. Each function is also
available in an overflow-checking variant, suffixed _checked
, which
throws an ArrowInvalid
exception when overflow is detected.
|
Call compute function ‘add’ with the given arguments. |
|
Call compute function ‘add_checked’ with the given arguments. |
|
Call compute function ‘divide’ with the given arguments. |
|
Call compute function ‘divide_checked’ with the given arguments. |
|
Call compute function ‘multiply’ with the given arguments. |
|
Call compute function ‘multiply_checked’ with the given arguments. |
|
Call compute function ‘subtract’ with the given arguments. |
|
Call compute function ‘subtract_checked’ with the given arguments. |
Comparisons¶
These functions expect two inputs of the same type. If one of the inputs is null
they return null
.
|
Call compute function ‘equal’ with the given arguments. |
|
Call compute function ‘greater’ with the given arguments. |
|
Call compute function ‘greater_equal’ with the given arguments. |
|
Call compute function ‘less’ with the given arguments. |
|
Call compute function ‘less_equal’ with the given arguments. |
|
Call compute function ‘not_equal’ with the given arguments. |
Logical Functions¶
These functions normally emit a null when one of the inputs is null. However, Kleene
logic variants are provided (suffixed _kleene
). See User Guide for details.
|
Call compute function ‘and’ with the given arguments. |
|
Call compute function ‘and_kleene’ with the given arguments. |
|
Call compute function ‘invert’ with the given argument. |
|
Call compute function ‘or’ with the given arguments. |
|
Call compute function ‘or_kleene’ with the given arguments. |
|
Call compute function ‘xor’ with the given arguments. |
String Predicates¶
In these functions an empty string emits false in the output. For ASCII
variants (prefixed ascii_
) a string element with non-ASCII characters
emits false in the output.
The first set of functions emit true if the input contains only characters of a given class.
|
Call compute function ‘ascii_is_alnum’ with the given argument. |
|
Call compute function ‘ascii_is_alpha’ with the given argument. |
|
Call compute function ‘ascii_is_decimal’ with the given argument. |
|
Call compute function ‘ascii_is_lower’ with the given argument. |
|
Call compute function ‘ascii_is_printable’ with the given argument. |
|
Call compute function ‘ascii_is_space’ with the given argument. |
|
Call compute function ‘ascii_is_upper’ with the given argument. |
|
Call compute function ‘utf8_is_alnum’ with the given argument. |
|
Call compute function ‘utf8_is_alpha’ with the given argument. |
|
Call compute function ‘utf8_is_decimal’ with the given argument. |
|
Call compute function ‘utf8_is_digit’ with the given argument. |
|
Call compute function ‘utf8_is_lower’ with the given argument. |
|
Call compute function ‘utf8_is_numeric’ with the given argument. |
|
Call compute function ‘utf8_is_printable’ with the given argument. |
|
Call compute function ‘utf8_is_space’ with the given argument. |
|
Call compute function ‘utf8_is_upper’ with the given argument. |
The second set of functions also consider the order of characters in the string element.
|
Call compute function ‘ascii_is_title’ with the given argument. |
|
Call compute function ‘utf8_is_title’ with the given argument. |
The third set of functions examines string elements on a byte-by-byte basis.
|
Call compute function ‘string_is_ascii’ with the given argument. |
String Transforms¶
|
Call compute function ‘ascii_lower’ with the given argument. |
|
Call compute function ‘ascii_upper’ with the given argument. |
|
Call compute function ‘utf8_lower’ with the given argument. |
|
Call compute function ‘utf8_upper’ with the given argument. |
Containment tests¶
|
Call compute function ‘index_in’ with the given argument. |
|
Call compute function ‘is_in’ with the given argument. |
|
Test if substring pattern is contained within a value of a string array. |
Conversions¶
|
Cast array values to another data type. |
|
Call compute function ‘strptime’ with the given argument. |
Selections¶
|
Select values (or records) from array- or table-like data given boolean filter, where true values are selected. |
|
Select values (or records) from array- or table-like data given integer selection indices. |
Associative transforms¶
|
Call compute function ‘dictionary_encode’ with the given argument. |
|
Call compute function ‘unique’ with the given argument. |
|
Call compute function ‘value_counts’ with the given argument. |
Sorts and partitions¶
|
Call compute function ‘partition_nth_indices’ with the given argument. |
|
Call compute function ‘sort_indices’ with the given argument. |
Structural Transforms¶
|
Call compute function ‘binary_length’ with the given argument. |
|
Replace each null element in values with fill_value. |
|
Call compute function ‘is_null’ with the given argument. |
|
Call compute function ‘is_valid’ with the given argument. |
|
Call compute function ‘list_value_length’ with the given argument. |
|
Call compute function ‘list_flatten’ with the given argument. |
|
Call compute function ‘list_parent_indices’ with the given argument. |