Tragen Sie Strip () eine Spalte in Pandas an

df[0] = df[0].str.strip()
Agreeable Anteater