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

snowflake.snowpark.DataFrame.distinct¶

DataFrame.distinct() → DataFrame[source]¶

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.