How to transform Nominal to Binominal

Hello,

i would like to know how to do a transformation like the following:
table is:

Attribute1 | Attribute2 |
A C
C B
B B

and should be transformed to

Attribute1 | Attribute2 | A | B | C |
A C 1 0 0
C B 0 0 1
B B 0 1 0

thanks in Advance

Hi Username, Your question has been already answered here. Best, Thomas

thx for the notice : ) . i tried it, and it had worked thanks for the answer.

greetings

Username