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.