ENH: add 'dense' ranking method #6333
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
Enhancement
Numeric Operations
Arithmetic, Comparison, and Logical operations
Milestone
scipy.stats.rankdata
has five ranking methods:average
,min
, andmax
, equivalent to the same options inSeries.rank
;ordinal
, corresponding to ourfirst
; but it also hasdense
:For example,
I've wanted this in the past, and it just showed up on SO.
The text was updated successfully, but these errors were encountered: