clean punctuation from a dataframe in python code example
Example: python pandas remove punctuation
x = pd.DataFrame(dict(column1=["Lorum. ipsum.?"]))
x["column1"] = x["column1"].str.replace('[^\w\s]','')
x = pd.DataFrame(dict(column1=["Lorum. ipsum.?"]))
x["column1"] = x["column1"].str.replace('[^\w\s]','')