snowflake.snowpark.functions.bitxor_agg¶

snowflake.snowpark.functions.bitxor_agg(e: Union[snowflake.snowpark.column.Column, str]) → Column[source]¶

Returns the bitwise XOR of all non-NULL records in a group. If all records inside a group are NULL, the function returns NULL.

Example:

>>> df = session.create_dataframe([[15], [26], [12]], schema=["a"])
>>> df.select(bitxor_agg("a")).collect()
[Row(BITXOR_AGG("A")=25)]
Copy