Skip to content
Advertisement

sort values and create new column based on result

I have this example

JavaScript

which produce this dataframe

JavaScript

i want to sort values from column A and B and C from higher to lower and put result column headers in new column D like this:

JavaScript

I hope it’s clear, thank you

Advertisement

Answer

You can try:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement