snowflake.snowpark.DataFrame.distinct

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

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