如何使用petl库删除行?
我已经使用以下命令加载了数据:
self.tab = petl.fromcsv(self.filename, delimiter=self.delimiter, encoding=self.source_encoding)现在,我如何删除self.tab中有条件的行呢?我认为在熊猫中,你可以像df.drop一样做,但是petl有吗?
发布于 2019-10-28 14:32:49
使用select is not https://pythonhosted.org/petl/0.11.1/index.html#petl.selectisnot对案例进行反向工程
https://stackoverflow.com/questions/58423941
复制相似问题