Removing all instances of :" in a pandas dataframe

Number Logic Source

I am being lazy here, but was wondering if there is a way to remove all instances of : In("ABC","DEF","asdasd") with :ABC,DEF,asdasd

ie. I want the regex value that will remove In( and ) in the string above

df=df.replace(regex,regex=True)
python-3.xpandas

Answers

comments powered by Disqus