Get several column names in a row based on a condition

Hello knimers,
hope this finds you well
I have such a table

how can i get all column names if the count in one col is higher than 0 as shown in in the prediction col.
I was thinking of a loop column node, but i could get it to work

Hi @mh_elhassan

A Column List Loop can do the job. See get_column_namens.knwf (31.1 KB)

gr. Hans

1 Like

@HansS thanks. i didn’t use the dummy col and that s why i was stuck. thanks a lot

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.