![](/img/trans.png)
[英]How to add multiple new columns to existing csv file without mentioning the column name in python?
[英]How to merge 3 columns into a new column and add resulting column to existing CSV file in Python (without using Panda)
您可以使用類似此答案的方法根據 CSV 文件的內容創建對象列表,根據需要操作數據,然后寫回 CSV 文件。
共享您已經嘗試過的代碼也是一個好主意;-)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.