📌  相关文章
📜  applymap(lambda x: x.encode('unicode_escape').decode('utf-8') if isinstance(x, str) else x) - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:03.074000             🧑  作者: Mango

代码示例1
dataframe = dataframe.applymap(lambda x: x.encode('unicode_escape').
                 decode('utf-8') if isinstance(x, str) else x)