I have a column in a dataframe with values as XS, S, M, L, XL and XXL. What i want is to have 6 new columns in dataframe as XS, S, M, L, XL and XXL and each having a binary value referenced from the column. Is this possible?
I attended a lecture in which the instructor used something similar to this but I can't really put my finger on how she did it or what was the method called.
Any help, whatsoever is appreciated.