python中csv文件,如何删除指定行指定列的某个数据?代码该如何写?求大神!!!
大家讲道理
大家讲道理 2017-04-18 09:06:57
0
1
941

这是我的csv文件中的数据:

a b c d
e f g h
q w e r

假设现在想删除 g (第2行第3列),该如何写相应的代码呢?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
PHPzhong

There is a csv module. You can read the usage of this library in detail. It should be there

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!