0

I have a DF

Name  domain   av_rate   domain_rate

ABC    cat       55       22

DEF    dog       24       32

XYZ    cat       33       22

stu    dog       22       32

Desired O/P: Winner is the Name whose av_rate>= domain_rate

Name  domain   av_rate   domain_rate   Winner

ABC    cat       55       22             Yes

DEF    dog       24       32              No

XYZ    cat       33       22              Yes

stu    dog       22       32               No

What is the best way to handle this?

sophocles
  • 13,593
  • 3
  • 14
  • 33
anu
  • 17
  • 7

0 Answers0