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

snowflake.snowpark.functions.soundex

snowflake.snowpark.functions.soundex(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/functions.py#L2299-L2308)

Returns a string that contains a phonetic representation of the input string.

Example::
>>> df = session.create_dataframe(["Marsha", "Marcia"], schema=["V"]).select(soundex(col("V")))
>>> df.collect()
[Row(SOUNDEX("V")='M620'), Row(SOUNDEX("V")='M620')]
Copy
Language: English