You are viewing documentation about an older version (1.1.0). View latest version

snowflake.snowpark.functions.array_prepend

snowflake.snowpark.functions.array_prepend(array: ColumnOrName, element: ColumnOrName) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.1.0/src/snowflake/snowpark/functions.py#L2385-L2394)

Returns an ARRAY containing the new element as well as all elements from the source ARRAY. The new element is positioned at the beginning of the ARRAY.

Parameters:
  • ARRAY. (array Column containing the source) –

  • prepended. (element Column containing the element to be) –