As you can see below, I have a column called code
with multiple values per row, separated by a comma. How can I create a column for each of these codes and make them all binary values?
i.e. code6254
, code5854
etc...., where all these columns will be of binary value 0
or 1
depending on whether that row has the code or not? Thanks in advance :)