snowflake.snowpark.functions.dense_rank¶
- snowflake.snowpark.functions.dense_rank() Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.47.0/src/snowflake/snowpark/functions.py#L8995-L9010)¶
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.
Example: