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

snowflake.snowpark.functions.dense_rank

snowflake.snowpark.functions.dense_rank() Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.1.0/src/snowflake/snowpark/functions.py#L2877-L2883)

Returns the rank of a value within a group of values, without gaps in the ranks. The rank value starts at 1 and continues up sequentially. If two values are the same, they will have the same rank.