I want to create a new column which looks at a list of columns (colList) and returns zero if every value in those columns is zero and 1 for all else.
colList = ['Value1', 'Value2', 'Value3']
Value1 Value2 Value3 Value4
0 0 0 1
10 8 1 3
1 0 0 5
Value1 Value2 Value3 Value4 newcol
0 0 0 1 0
10 8 1 3 1
1 0 0 5 1