You are viewing documentation about an older version (1.12.1). 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.