PANDAS GRIF SING DE TODAS AS CELAS

new_df = df.applymap(lambda x: x.strip() if type(x) == str else x)
houstika