Skip to main content

array.del_

Remove the element at the specified index from the array.
index
int | IntegerValue
required

array.filter

Return a new array containing only the elements of the original array for which the predicate is true.
predicate
Callable[[Value], bool] | BooleanValue
required

array.flatten

Remove one level of nesting from the array.

array.index

Return the position of the first occurrence of the value in the array.
value
Value
required

array.insert

Insert the value at the specified index in the array.
index
int | IntegerValue
required
value
Value
required

array.join

Concatenate the elements of the array using the provided separator.
sep
str
required

array.len

Return the length of the array.

array.map

Apply the function to each element of the array. Note: also supports more complex callables like functools.partial and lambdas with closures
func
Callable[[Value], Value]
required

array.max

Return the maximum value of the array

array.min

Return the minimum value of the array

array.remove

Return a new array with all occurrences of the value removed. Note that in the python standard library, this method only removes the first occurrence.
value
Value
required

array.repeat

Return the array repeated n times.
n
int | IntegerValue
required

array.sort

Return a new array with the elements sorted.

array.union

Return a new array with the elements of both arrays, with duplicates removed.
other
ArrayColumn
required

array.unique

Return a new array with the duplicate elements removed.

array.unnest

Unnest the array into a new table. Note: Rows with empty arrays are dropped in the output.

array.zip

Return a new array with the elements of the original array and the other arrays zipped together. The combined map will have f1, f2, f3, etc. as the keys.
other
ArrayValue
required
others
ArrayValue
required
I