排版识别标题级别和正文
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
287 B

import pandas as pd
data = pd.read_csv("data/dev_data_weipu.csv", encoding="utf-8").values.tolist()
data_new = ""
for i in data[:100]:
data_new += i[0]
data_new += "\n"
print(data_new)
with open("data/ceshi_aigc_weipu.txt", "w", encoding="utf-8") as f:
f.write(data_new)