I have this dataframe:
Text feat1 feat2 feat3 feat4
string1 1 1 0 0
string2 0 0 0 1
string3 0 0 0 0
I want to create 2 other columns this way:
Text feat1 feat2 feat3 feat4 all_feat count_feat
string1 1 1 0 0 ["feat1","feat2"] 2
string2 0 0 0 1 ["feat4"] 1
string3 0 0 0 0 [] 0
What's the best approach to do it in Julia?