I am trying to create a categorical variable out of three columns containing only 0 and 1. They would perfectly match being together a categorical variable - however I cannot find a code merging them to be one: being a categorical variable labeled "Movement"
CAR BIKE FEET
0 0.0 1.0 0.0
1 0.0 1.0 0.0
2 0.0 0.0 1.0
3 0.0 1.0 0.0
4 0.0 0.0 1.0
... ... ... ...
Any thoughts or other ways to create the categorical variables would be appreciated.
EDIT: "Movement" should be an object having the three categorical variables included