one hot encoder splits a column into number of columns and assign 1 or 0 according to the order in the column