I have an ordinal variable with the following categories very favorable (1) somewhat favorable (2) somewhat unfavorable (3) very unfavorable (4) don't know (8)
I want to create a dummy variable for a specific value in a column. Let's say my database looks like this : I want a dummy variable just for the museums. pd.ge