simple-data-analysis icon indicating copy to clipboard operation
simple-data-analysis copied to clipboard

addRank / addIndex?

Open nshiab opened this issue 3 years ago • 2 comments

Could be useful to have a method to add a key with a rank for each item.

nshiab avatar Aug 25 '22 13:08 nshiab

I think I prefer addRank as a name.

nshiab avatar Oct 24 '22 13:10 nshiab

so this function should implicitly sort the data first and then apply ranks but without transforming the original data?

RobertJohnDavidson avatar Nov 02 '22 19:11 RobertJohnDavidson

Added with pull request #139

nshiab avatar Feb 24 '23 23:02 nshiab