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

snowflake.snowpark.DataFrame.distinct

DataFrame.distinct() DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/dataframe.py#L1571-L1580)

Returns a new DataFrame that contains only the rows with distinct values from the current DataFrame.

This is equivalent to performing a SELECT DISTINCT in SQL.

Language: English