snowflake.snowpark.functions.array_remove_at¶
- snowflake.snowpark.functions.array_remove_at(array: Union[snowflake.snowpark.column.Column, str], position: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns an ARRAY with the element at the specified position removed.
- Parameters:
array (ColumnOrName) – Column containing the source ARRAY.
position (ColumnOrName) – Column containing a (zero-based) position in the source ARRAY. The element at this position is removed from the resulting ARRAY. A negative position is interpreted as an index from the back of the array (e.g. -1 removes the last element in the array).
- Returns:
The resulting ARRAY with the specified element removed.
- Return type:
Example: