How do I remove repeated characters in string and just leave one of them.
e.g:-
"Bertuggggg Mete"
to
"Bertug Mete"
I've just read data like this:
dataFrame = pd.read_excel("C:\\Users\\Bertug\\Desktop\\example.xlsx")
Name 0 Bertuggggg Mete
Input is read from .xlsx file. I have tried split and strip functions but they don't work seem to work as expected.
How I can solve this problem ?