79318009

Date: 2024-12-30 15:56:01
Score: 0.5
Natty:
Report link

A simple method using apply:

out["Top"] = out.apply(lambda row: 1 + np.argmax(row["Score_1":"Score_5"]) , axis=1)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: rehaqds