applymap(lambda x: x.encode('unicode_escape'). decode('utf-8') if isinstance(x, str) else x)
By Fred Weber at Nov 28 2020