Pandas Recorte de todas las celdas

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