I need to remove case-sensitive duplicates keeping the first occurrence and maintaining the order of the sentence. This need to be done on each row of a column.
Initial format: How the output should look:
col_sentence col_sentence
paper Plastic aluminum paper paper Plastic aluminum
paper Plastic aluminum Paper paper Plastic aluminum
Paper tin glass tin PAPER Paper tin glass
Paper tin glass Paper-tin Paper tin glass
Is this possible to be done with python? I've created a function which works and removes duplicates but only by converting in lower and changing the order witch, is not feasible in my case.