DENSE

Assigns consecutive integer ranks to distinct values, ignoring gaps.

If the sorted unique values are A < B < C, they receive ranks 1, 2, 3 regardless of how many elements share each value. The maximum rank equals the number of distinct values.