Inserting a unicode character using .join()

Viewed 1192

I have columns in a data table that I need to join. One column consists of values and the other of corresponding error values, for example:

50.21  0.03
43.23  0.06
23.65  1.20
12.22  0.06
11.25  2.21

What I'd like to do is, for each row join the columns along with a +/-, but the clean unicode character (U+00B1). I've never tried to use unicode characters in python before, so I'm sorta stumped.

If my .join() looks like

"<unicode here>".join(item)

how exactly do I let python know I want to use a unicode character.

1 Answers
Related