📅  最后修改于: 2022-03-11 14:46:35.628000             🧑  作者: Mango
# .replace works on entire strings, so try use regex to search for partial values.
# ( Remember to also re-assign the value, or use inplace=True )
# E.g. Remove all '&'s in the text values:
df[yourCol] = df[yourCol].replace('[\&,)]','', regex=True)