Romain07/19/2019, 8:17 AM
It does not work out because the ifelse function expect the condition to be a boolean, not a list of boolean. Is there a way to do it differently?
conditions = is_true.map(input_data) as = do_a.map(input_data) bs = do_b.map(input_data) ifelse(conditions, as, bs)
Chris White07/19/2019, 3:39 PM
results = ifelse.map(conditions, as, bs)
Romain07/22/2019, 6:10 AM