File size: 269 Bytes
cbb1d4f | 1 2 3 4 5 6 7 | import pandas as pd
# 读取 parquet 文件
df = pd.read_parquet("/root/githubs/LightRAG/generated_data/大生_train.parquet")
# 导出为 JSON
df.to_json("/root/githubs/LightRAG/generated_data/大生_yty_train.jsonl", orient="records", force_ascii=False, lines=True) |