$100 Venmo Prize | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 4

$100 Venmo Prize

I have a dataframe I am working with. My objective is to create a ranking list on each row of the DF, such that if the DF has 10 rows, it will have 10 different ranking lists. Each ranking list is correspondent to the row it’s calculated on. It is calculated as the top 10 values across all the columns on the same row. Essentially, ranking the column values on the same row. The ranking list should have the following format: [“Column Name” , “Value in Row of Column”, “Place in Ranking List”] Create a function to do this. If you solve it, I will venmo you. In desperate need of help.

29th Dec 2019, 6:00 AM
diego_recht
1 Answer
+ 4
This is not how it works. You should first show us your attempt, and we'll be happy to help for free. Have you tried to solve this problem ?
29th Dec 2019, 6:04 AM
Aymane Boukrouh
Aymane Boukrouh - avatar