I already found a workaround, but I'm still curious about what's going on:
When I try to do replace in Pandas like so:
merged4[['column1', 'column2', 'column3']] = merged4[['column1', 'column2', 'column3']].replace(to_replace='.', value=',')
It's not working. I tried all different variants with Inplace for example. I also did astype(str) since the columns were float64.
However, when I do:
merged4[['column1', 'column2', 'column3']] = merged4[['column1', 'column2', 'column3']].replace(to_replace='\.', value=',', regex=True)
It's working like charm.
Is something wrong?