def solve_luanma():
import pandas as pd
# 這個文件是有亂碼的
file_name = '/cloud/cloud_disk/users/huh/nlp/smart_home/embedding2.csv'
df = pd.read_csv(file_name, encoding='utf-8')
# 這個句子是最後生成的文件
file_name3 = '/cloud/cloud_disk/users/huh/nlp/smart_home/embedding3.csv'
df.to_csv(file_name3,encoding="utf_8_sig")
Application of various program
author | Junxin source |