09 2022 档案

摘要:df.to_csv("test.csv", sep='|',quoting=csv.QUOTE_NONE,index=False,header=True) 转载自 df.to_csv时双引号导致的问题解决 - 灰信网(软件开发博客聚合) (freesion.com) 阅读全文

posted @ 2022-09-30 11:40 o0o0o9 阅读(125) 评论(0) 推荐(0) 编辑 |

摘要:import pandas as pd #读取 excel 并获取字段 df=pd.read_excel('666.xlsx',dtype=str) col_list=list(df.columns) #需要删除的字段名 del_col_list =['c','d'] # 构造备注列,把要删除的列 阅读全文

posted @ 2022-09-29 19:11 o0o0o9 阅读(221) 评论(0) 推荐(0) 编辑 |

随笔 - 13, 文章 - 2, 评论 - 0, 阅读 - 7613

Copyright © 2025 o0o0o9
Powered by .NET 9.0 on Kubernetes

点击右上角即可分享
微信分享提示