阅读背景:

python批量处理csv文件画图_使用Python批量编辑csv文件_weixin_39653442的博客

来源:互联网 

I need to edit several csv files. Actually, most of the files are fine as they are, it's just the last (41st) column that needs to be changed. For every occurrence of a particular string in that column, I need it to be replaced by a different string; specifically, every occurrence of 'S-D' needs to be replaced by 'S'. I've tried to accomplish this using Python, but I think I need to write the csv files and I'm not quite sure how to do this:I need to edit several csv files. Actually,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: