I have the data frame as below:
ID | Night_Shift | Day_Shift | Weekend_Shift | Morning_Shift
3 True False False True
1 False False False False
2 True True False True
I am trying to create a new column which should be True if there is at least 1 True in any of the Shift Column or False if all are False?
This is my expected Output:
ID | Night_Shift | Day_Shift | Weekend_Shift | Morning_Shift | New_Col
3 True False True True True
1 False False False False False
2 True False False False True