raiseValueError(f"Column '{column_name}' not found in the CSV file.") # 创建一个新的CSV文件来保存更新后的数据 new_file_path=f"updated_{file_path}" # 追加数据到指定列 withopen(new_file_path,'w', newline='') as new_file: writer=csv.DictWriter(new_file, fieldnames=headers) writer....