how to use lambda function to assign values based on other columns while using 'or' for multiple values for the same outcome?

前端 未结 0 1428
星月不相逢
星月不相逢 2020-12-28 10:56

so if col2 = a or b col3 to be assigned \'yes\' else if col 2 is c col3 to be assigned \'no\'

to have the below output:

I have tried using lamb

相关标签:
回答
  • 消灭零回复
提交回复
热议问题