While Loop Through String Python Replace Characters In Dataframe