I have a dataframe like this with Boolean values
| black | yellow | orange |
|---|---|---|
| TRUE | TRUE | TRUE |
| FALSE | TRUE | FALSE |
| TRUE | TRUE | FALSE |
| FALSE | FALSE | TRUE |
I want a separate column that summarizes the Boolean values based on column name which the column would be
| summary |
|---|
| black, yellow, orange |
| yellow |
| black, yellow |
| orange |
Any idea how to do this please? Thanks!