birden çok boşluk pythonunu kaldır
import re
re.sub(' +', ' ', 'The quick brown fox')
'The quick brown fox'
birden çok alanı tek boşluklu python ile değiştirin
' '.join(myString.split())
çift boşluk dönüştürme int tek boşluk python
#converting double spaces into single spaces
df["combined"]=df["combined"].replace('\s+', ' ', regex=True)