python將csv文件轉化成txt

import pandas as pd import os data = pd.read_csv('news_data.csv', encoding='utf-8') with open('news_data.txt','a+', encoding='utf-8') as f: for line in data.values: f.write((str(line[0])
相關文章
相關標籤/搜索