Wie ich RWRITE -Conditon zum Erstellen von 1 oder 0 -Etiketten aus zwei Wahrscheinlichkeitsspalte Python erstellen kann

# np.where(condition, value if condition is true, value if condition is false)
# can be apply on pandas datafram

np.where(condition, value if condition is true, value if condition is false)
Subha