📜  将一些列导出到 csv pandas - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:13.631000             🧑  作者: Mango

代码示例1
deselectlist =[ 'Class', 'part_id' , 'image_file']
 selectlist =[x for x in data.columns if x not in deselectlist]
 datatowrite = date[selectlist]

 datatowrite.to_csv('new.csv')