I am trying to do the following but getting Value error
if ((df['Session']==1) & (df['Channel']>=1)):
df['TAG']='FIRST'
else:
df['TAG']='OTHERS'
Error:
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().