Something like this would be easier to comment on if you include a couple records of sample data.
I think you might want to change the line fields['S&E'] = str2 to be out1['S&E'] = str2
If you don't expect an array then I probably wouldn't personally use "in". I don't think its doing what you expect here.
I think you actually want something like this: (check for minor typos etc)
if in1['S&E']:
out1['S&E']=in1['S&E'].replace(' ','')
The "if" is is only needed if some data is not defined, you might need stronger null checking. Also replace will actually remove multiple occurrences
If you really do have a list then the first tweak should work.
------------------------------
Peter Sykes
Vontobel Holding AG
ZUERICH
------------------------------