applymap(lambda x: x.encode('unicode_escape'). decode('utf-8') if isinstance(x, str) else x) code example
Example: applymap(lambda x: x.encode('unicode_escape'). decode('utf-8') if isinstance(x, str) else x)
dataframe = dataframe.applymap(lambda x: x.encode('unicode_escape').
decode('utf-8') if isinstance(x, str) else x)