You need to use the method str.replace Series
So:
data_frame.foo.str.replace(to_replace'"', value = '')
foo is the name of the column
> df
foo
0 "bar"
> df.foo.str.replace('"', '')
0 bar
Name: foo, dtype: object
If you have a lot of columns, but it is better to answer @jezrael, I think:
for s in df:
if df[s].dtype == "object":
df.loc[:,s] = df.loc[:,s].str.replace('"', '')
source
share